31 lines
603 B
Caddyfile
31 lines
603 B
Caddyfile
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
|
|
}
|
|
}
|
|
}
|