It’s been a while since I started using caddy v2 in production. Therefore I would like to show some caddy configuration examples that I also use by myself.
HTTP3 in Caddy v2
In the last caddy post I mentioned how to setup HTTP3, however the syntax has changed slightly.
1 | { |
Reverse proxy
Simple reverse proxy (to a specific port)
1 | matrix.rmsol.de { |
File server
Serving a static page (html/css). In that case with gzip and extended Cache-Control.
1 | rmsol.de { |
PHP website
Serving a PHP website.
1 | ip-whois.de { |
Nextcloud
1 | nextcloud.rmsol.de { |