examples: update reverse_proxy config

This commit is contained in:
undefined committed 2023-01-23 19:34:19 +08:00
1 parent b8c51d332b
commit f0aa9a8d46
3 files changed
+3 -8

No files matched your search

+1 -4
View File
@@ -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
}
`;