revproxy: update
parent
00bc92a2e1
commit
cd3f05d4d1
@ -1,6 +1,7 @@
|
|||||||
hydro.ac {
|
hydro.ac {
|
||||||
reverse_proxy http://localhost:8888 {
|
reverse_proxy http://localhost:8888 {
|
||||||
header_up x-real-ip {remote_host}
|
header_up x-real-ip {remote_host}
|
||||||
header_up x-real-host {hostport}
|
# caddy now add x-forwarded-host automatically.
|
||||||
|
# header_up x-forwarded-host {hostport}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue