6 ms·
Setting that up with nginx and acme.sh is pretty easy as well. One benefit I found with using nginx is that services are more likely to have nginx proxy exampl
by okasaki 5y ago
Setting that up with nginx and acme.sh is pretty easy as well.
One benefit I found with using nginx is that services are more likely to have nginx proxy example configs, and sometimes these are non-trivial, eg.:
https://docs.mattermost.com/install/config-proxy-nginx.html https://docs.mattermost.com/install/config-proxy-nginx.html
I guess with caddy you're on your own, which doesn't look like fun.
- francislavoie 5y agoCaddy's defaults usually mean your config ends up being 1/4 or less of the size of Nginx ultimately. Often the 'reverse_proxy' directive's defaults are good enough, if the app you're proxying to is reasonably modern. But if you need help, we're very active on https://caddy.community/ https://caddy.community/ to answer questions :)
- mindwok 5y agoCheck out the config adapters: https://caddyserver.com/docs/config-adapters https://caddyserver.com/docs/config-adapters Now you can use your nginx config with Caddy!
- nyolfen 5y agohere is my example config for a caddy reverse proxy with automatic tls: sub.domain.com { reverse_proxy localhost:8080 }