Skip to content

Commit 0990533

Browse files
committed
add foundry
1 parent 0fbbc5e commit 0990533

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

caddy/Caddyfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ codewithteddy.dev {
8686
}
8787
}
8888

89+
# Foundry VTT
90+
handle /foundry* {
91+
reverse_proxy localhost:30000 {
92+
header_up Host {host}
93+
header_up X-Real-IP {remote_host}
94+
header_up X-Forwarded-For {remote_host}
95+
header_up X-Forwarded-Proto {scheme}
96+
}
97+
}
98+
8999
# All other requests go to the web app with enhanced proxy configuration
90100
handle {
91101
reverse_proxy web_app:8000 {

0 commit comments

Comments
 (0)