From c3568e2d81a85d5f112ff527004b237a553af4bc Mon Sep 17 00:00:00 2001 From: WMLbrowser <29865999+GeneralPanfeng@users.noreply.github.com> Date: Sat, 6 Feb 2021 18:27:05 +0800 Subject: [PATCH] Update nginx.conf --- VLESS-TCP-TLS (maximal by rprx)/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VLESS-TCP-TLS (maximal by rprx)/nginx.conf b/VLESS-TCP-TLS (maximal by rprx)/nginx.conf index 8b99c90..17ac754 100644 --- a/VLESS-TCP-TLS (maximal by rprx)/nginx.conf +++ b/VLESS-TCP-TLS (maximal by rprx)/nginx.conf @@ -49,7 +49,8 @@ http { server_name _; root /usr/share/nginx/html; - set_real_ip_from 127.0.0.1; + set_real_ip_from unix:; + real_ip_header proxy_protocol; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf;