From f63971b95440a5a3bfed9252394f0e5d188d81ac Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:30:20 +0200 Subject: [PATCH] Update nginx.conf --- examples/nginx-php/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nginx-php/nginx.conf b/examples/nginx-php/nginx.conf index 5b703e8..72b8052 100644 --- a/examples/nginx-php/nginx.conf +++ b/examples/nginx-php/nginx.conf @@ -7,8 +7,8 @@ server { #error_page 404 /error/404.html; client_max_body_size 10M; # change this - set_real_ip_from 172.16.0.0/12; - set_real_ip_from 192.168.0.0/16; + #set_real_ip_from 172.16.0.0/12; + #set_real_ip_from 192.168.0.0/16; real_ip_header X-Forwarded-For; proxy_hide_header X-Powered-By;