Switch gild caddy blocks from file_server to reverse_proxy (Next.js containers)

Anton Kaminsky4/17/2026f840c8ff7b40parent cb3a292
1 file changed+2-4
hub/Caddyfile
@@ -7,8 +7,7 @@
77thegild.app {
88 tls /certs/thegild.app.crt /certs/thegild.app.key
99
10 root * /opt/gild/web
11 file_server
10 reverse_proxy gild-web:3000
1211
1312 header {
1413 X-Content-Type-Options nosniff
@@ -19,8 +18,7 @@
1918staging.thegild.app {
2019 tls /certs/thegild.app.crt /certs/thegild.app.key
2120
22 root * /opt/gild-staging/web
23 file_server
21 reverse_proxy gild-web-staging:3000
2422
2523 header {
2624 X-Content-Type-Options nosniff
2725