mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
examples: update reverse_proxy config
This commit is contained in:
1 parent
b8c51d332b
commit
f0aa9a8d46
3 files changed
+3
-8
No files matched your search
@@ -1,6 +1,3 @@
|
||||
hydro.ac {
|
||||
reverse_proxy http://localhost:8888 {
|
||||
header_up x-forwarded-for {remote_host}
|
||||
header_up x-forwarded-host {hostport}
|
||||
}
|
||||
reverse_proxy http://localhost:8888
|
||||
}
|
||||
@@ -14,5 +14,6 @@ server {
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user