This commit is contained in:
Kar l5
2024-04-27 21:37:34 +05:30
parent 9797b0c513
commit b2e7987dc0
3 changed files with 178 additions and 0 deletions

30
caddy/Caddyfile Normal file
View File

@@ -0,0 +1,30 @@
http://code.internal:8080 {
# Could be another domain/IP as well
reverse_proxy {
to localhost:8081
}
}
http://stage.internal:8080 {
# Could be another domain/IP as well
reverse_proxy 127.0.0.1:8082
}
http://dev.internal:8080 {
# Proxy with a DNS Server name instead
reverse_proxy internal-site:8083
}
test.domains.siliconpin.com {
# Could be another domain/IP as well
reverse_proxy :9002
}
http://web.internal:8080 {
handle /code/* {
# Could be another domain/IP as well
reverse_proxy {
to localhost:8081
}
}
}