Update nginx.conf

This commit is contained in:
LRVT 2024-04-18 18:30:20 +02:00 committed by GitHub
parent f8e4fe7a30
commit f63971b954
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,8 +7,8 @@ server {
#error_page 404 /error/404.html; #error_page 404 /error/404.html;
client_max_body_size 10M; # change this client_max_body_size 10M; # change this
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;
real_ip_header X-Forwarded-For; real_ip_header X-Forwarded-For;
proxy_hide_header X-Powered-By; proxy_hide_header X-Powered-By;