1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/headphones_ynh.git synced 2024-09-03 19:26:02 +02:00
headphones_ynh/conf/nginx.conf

16 lines
506 B
Nginx Configuration File
Raw Normal View History

2015-08-23 17:57:27 +02:00
location PATHTOCHANGE {
proxy_http_version 1.1;
proxy_pass_header Server;
proxy_pass http://IPTOCHANGE:PORTTOCHANGEPATHTOCHANGE;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}