From d3f68d261bf14c195d05a04b59f8c1a41be569e1 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 26 Aug 2023 01:03:54 +0100 Subject: [PATCH] Update nginx.conf --- nginx-web/configs/nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;