Now I'd like to achieve basic caching capabilities of Caddy:
the website that the nginx has already set caching headers. I would like Caddy serve as the cache that serves static copies of the website. I tried various ways to achieve this with labels and nested arguments but as far as I could observe they were not being implemented. I checked the generated Caddyfile in the caddy-container "/config/caddy/Caddyfile.autosave" and the above configuration was removed. I think because of errors in my configuration. It would be nice to get pointers how I could achieve it.
Hi!
I am using the well documented reverse proxy configuration in a docker-compose yaml file:
This results in the expected
Now I'd like to achieve basic caching capabilities of Caddy: the website that the nginx has already set caching headers. I would like Caddy serve as the cache that serves static copies of the website. I tried various ways to achieve this with labels and nested arguments but as far as I could observe they were not being implemented. I checked the generated Caddyfile in the caddy-container "/config/caddy/Caddyfile.autosave" and the above configuration was removed. I think because of errors in my configuration. It would be nice to get pointers how I could achieve it.
Thank you.