mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Update nginx.conf
This commit is contained in:
parent
8e386dee83
commit
bce7908698
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
location /mopidy/ws/ {
|
||||
location /mopidy/ws {
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
|
@ -22,7 +22,7 @@ location __PATH__/ {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://localhost:__PORT__/musicbox_webclient;
|
||||
proxy_pass http://localhost:__PORT__/musicbox_webclient/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
|
@ -37,7 +37,7 @@ location /musicbox_webclient/ {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://localhost:6680/musicbox_webclient;
|
||||
proxy_pass http://localhost:6680;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
|
@ -52,7 +52,7 @@ location /local/ {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
proxy_pass http://localhost:6680/local;
|
||||
proxy_pass http://localhost:6680;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue