TeamPiped / Piped-Docker

MIT License
47 stars 35 forks source link

Why use nginx in Caddy configuration? #30

Closed ghost closed 2 years ago

ghost commented 2 years 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 2 years ago

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

ghost commented 2 years ago

Thank you for the explanation!