mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 00:44:27 +01:00
chore: Update nginx.conf
This commit is contained in:
@@ -10,7 +10,8 @@ server {
|
|||||||
#set_real_ip_from 172.16.0.0/12;
|
#set_real_ip_from 172.16.0.0/12;
|
||||||
#set_real_ip_from 192.168.0.0/16;
|
#set_real_ip_from 192.168.0.0/16;
|
||||||
#set_real_ip_from 10.0.0.0/8;
|
#set_real_ip_from 10.0.0.0/8;
|
||||||
real_ip_header X-Forwarded-For;
|
#real_ip_header X-Forwarded-For;
|
||||||
|
#real_ip_header X-Real-IP;
|
||||||
proxy_hide_header X-Powered-By;
|
proxy_hide_header X-Powered-By;
|
||||||
|
|
||||||
access_log /var/log/nginx/access.log;
|
access_log /var/log/nginx/access.log;
|
||||||
|
|||||||
Reference in New Issue
Block a user