mirror of
https://github.com/YunoHost-Apps/headphones_ynh.git
synced 2024-09-03 19:26:02 +02:00
16 lines
506 B
Nginx Configuration File
16 lines
506 B
Nginx Configuration File
|
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';
|
||
|
}
|