Update nginx.conf
All checks were successful
Build and push image / Build (push) Successful in 1m56s

This commit is contained in:
Jack 2023-08-26 01:03:54 +01:00
parent 532b686ae4
commit d3f68d261b

View File

@ -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;