diff --git a/conf/nginx.conf b/conf/nginx.conf index 5734e05..4d4b142 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,20 +1,20 @@ location /mopidy/ws { - proxy_pass http://localhost:__PORT__; - proxy_http_version 1.1; - proxy_set_header Host $host; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $connection_upgrade; - proxy_read_timeout 604800; - proxy_send_timeout 604800; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass http://localhost:__PORT__; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; + proxy_read_timeout 604800; + proxy_send_timeout 604800; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location __PATH__/ { - proxy_pass http://localhost:__PORT__/musicbox_webclient/; - proxy_http_version 1.1; - proxy_set_header Host $host; + proxy_pass http://localhost:__PORT__/musicbox_webclient/; + proxy_http_version 1.1; + proxy_set_header Host $host; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; @@ -22,9 +22,9 @@ location __PATH__/ { location /musicbox_webclient/ { - proxy_pass http://localhost:__PORT__; - proxy_http_version 1.1; - proxy_set_header Host $host; + proxy_pass http://localhost:__PORT__; + proxy_http_version 1.1; + proxy_set_header Host $host; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; @@ -32,9 +32,9 @@ location /musicbox_webclient/ { location /local/ { - proxy_pass http://localhost:__PORT__; - proxy_http_version 1.1; - proxy_set_header Host $host; + proxy_pass http://localhost:__PORT__; + proxy_http_version 1.1; + proxy_set_header Host $host; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;