diff --git a/nginx-web/configs/nginx.conf b/nginx-web/configs/nginx.conf index 1d778ed..f951f49 100644 --- a/nginx-web/configs/nginx.conf +++ b/nginx-web/configs/nginx.conf @@ -10,10 +10,9 @@ events { http { server_names_hash_bucket_size 128; - set_real_ip_from 172.18.0.0/16; - set_real_ip_from fd00:0:0:0:2::/64; +# set_real_ip_from 172.18.0.0/16; +# set_real_ip_from fd00:0:0:0:2::/64; real_ip_header X-Forwarded-For; -# add_header X-Frame-Options 'ALLOW-FROM : https://nextcloud.thatguyjack.co.uk'; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;