1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-01-11 18:12:20 +01:00
parent e17fdb8683
commit 5e486ae900
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -12,6 +12,7 @@ location __PATH__/ {
# be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
proxy_buffering off;
more_set_headers "X-Frame-Options : ALLOWALL";
proxy_set_header X-Real-IP $remote_addr; # http://wiki.nginx.org/HttpProxyModule
proxy_set_header X-Forwarded-For $remote_addr; # EP logs to show the actual remote IP
proxy_set_header X-Forwarded-Proto $scheme; # for EP to set secure cookie flag when https is used