mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:31:54 +00:00
dev/Caddyfile: use 127.0.0.1 instead of localhost (#38955)
This commit is contained in:
parent
e522b25eb5
commit
0ebfe5eea4
@ -9,12 +9,12 @@
|
||||
# Caddy (tls :3443) -> webpack (:3080) -> Caddy (:3081) -> sourcegraph-frontend (:3082)
|
||||
{$SOURCEGRAPH_HTTPS_DOMAIN}:{$SOURCEGRAPH_HTTPS_PORT} {
|
||||
tls internal
|
||||
reverse_proxy localhost:3080 {
|
||||
reverse_proxy 127.0.0.1:3080 {
|
||||
lb_try_duration 60s
|
||||
}
|
||||
}
|
||||
|
||||
# Caddy (:3081) -> sourcegraph-frontend (:3082)
|
||||
:3081 {
|
||||
reverse_proxy localhost:3082
|
||||
reverse_proxy 127.0.0.1:3082
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user