mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17: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
-4
@@ -146,10 +146,7 @@ const Caddyfile = `\
|
||||
# 清注意在防火墙/安全组中放行端口,且部分运营商会拦截未经备案的域名。
|
||||
# For more information, refer to caddy v2 documentation.
|
||||
:80 {
|
||||
reverse_proxy http://127.0.0.1:8888 {
|
||||
header_up x-forwarded-for {remote_host}
|
||||
header_up x-forwarded-host {hostport}
|
||||
}
|
||||
reverse_proxy http://127.0.0.1:8888
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in new issue
Block a user