Skip to content

Commit 8fb6665

Browse files
authored
chore: Update nginx.conf
1 parent 607f67a commit 8fb6665

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/nginx-php/nginx.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ server {
1010
#set_real_ip_from 172.16.0.0/12;
1111
#set_real_ip_from 192.168.0.0/16;
1212
#set_real_ip_from 10.0.0.0/8;
13-
real_ip_header X-Forwarded-For;
13+
#real_ip_header X-Forwarded-For;
14+
#real_ip_header X-Real-IP;
1415
proxy_hide_header X-Powered-By;
1516

1617
access_log /var/log/nginx/access.log;

0 commit comments

Comments
 (0)