caddy
This commit is contained in:
30
caddy/Caddyfile
Normal file
30
caddy/Caddyfile
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user