give the option for doing local host http and then using a rev proxy

This commit is contained in:
KingKDot
2026-07-18 20:22:16 -05:00
parent 12cb3f6b4c
commit 0ae7069cc7
6 changed files with 90 additions and 14 deletions
+9
View File
@@ -0,0 +1,9 @@
# Replace overlord.example.com with the public DNS name. Caddy obtains and
# renews the public certificate automatically.
overlord.example.com {
reverse_proxy 127.0.0.1:5173 {
header_up Host {host}
header_up X-Forwarded-Proto https
header_up X-Real-IP {remote_host}
}
}