ecamp/ecamp3

Seperate frankenphp(caddy) from ingress for local development

Closed this issue · 1 comments

usu commented

After merging #5123, I'd propose that we separate the path-forwarding functionality (ingress) from frankenphp.

Combining this has a few disadvantages:

The 2nd point comes from the fact that the processing order is different between dev and prod:

  • on prod: ingress --> varnish --> api
  • od dev: varnish --> caddy (as ingress) --> api

Adding a separate ingress on local dev would make the two more similar and hence less error prone.

As ingress we could use:

  • Caddy: similar config as we already have today
  • Nginx: if we want to stay as similar as possible to the deployment

Core Meeting Decision

We vote for NGINX. We want the setup to be similar to the deployment.