TeamPiped / Piped-Docker

MIT License
39 stars 32 forks source link

Why use nginx in Caddy configuration? #30

Closed ghost closed 1 year ago

ghost commented 1 year ago

In the Caddy AIO script linked here: https://piped-docs.kavin.rocks/docs/self-hosting/ The backend is reversed proxied by nginx, then Caddy. Is there any particular reason to put nginx in the middle?

FireMasterK commented 1 year ago

Yes, because afaik caddy can't cache as a reverse proxy. (We'll need a build with xcaddy I think)

ghost commented 1 year ago

Thank you for the explanation!