1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/psitransfer_ynh.git synced 2024-09-03 20:16:06 +02:00

Update nginx.conf

This commit is contained in:
yalh76 2022-03-27 12:53:46 +02:00
parent 3c9c8fc854
commit e8f85daaa6

View file

@ -1,7 +1,7 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
proxy_pass http://localhost:__PORT__/;
add_header X-Frame-Options SAMEORIGIN;
more_set_headers "X-Frame-Options: SAMEORIGIN";
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;