mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: handle reverse_proxy chains
This commit is contained in:
1 parent
c58c0d8465
commit
3f337e41c3
5 files changed
+8
-7
No files matched your search
@@ -1,7 +1,6 @@
|
||||
hydro.ac {
|
||||
reverse_proxy http://localhost:8888 {
|
||||
header_up x-real-ip {remote_host}
|
||||
# caddy now add x-forwarded-host automatically.
|
||||
# header_up x-forwarded-host {hostport}
|
||||
header_up x-forwarded-for {remote_host}
|
||||
header_up x-forwarded-host {hostport}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user