fix: consolidate real ip header configs

This commit is contained in:
2024-12-23 11:47:02 +00:00
parent 3f77dba592
commit 32be37cf46

View File

@@ -34,10 +34,6 @@ server {
proxy_connect_timeout 300;
proxy_send_timeout 900;
set_real_ip_from 192.168.122.1;
real_ip_header X-Forwarded-For;
real_ip_recursive on;
location = /robots.txt {
allow all;
log_not_found off;