Update nginx.conf
All checks were successful
Build and push image / Build (push) Successful in 1m56s
All checks were successful
Build and push image / Build (push) Successful in 1m56s
This commit is contained in:
parent
532b686ae4
commit
d3f68d261b
@ -10,10 +10,9 @@ events {
|
|||||||
|
|
||||||
http {
|
http {
|
||||||
server_names_hash_bucket_size 128;
|
server_names_hash_bucket_size 128;
|
||||||
set_real_ip_from 172.18.0.0/16;
|
# set_real_ip_from 172.18.0.0/16;
|
||||||
set_real_ip_from fd00:0:0:0:2::/64;
|
# set_real_ip_from fd00:0:0:0:2::/64;
|
||||||
real_ip_header X-Forwarded-For;
|
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 Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user