From bce7908698290410c62a9dd9c4a813d6a590b487 Mon Sep 17 00:00:00 2001 From: siwinter <45730097+siwinter@users.noreply.github.com> Date: Fri, 19 Mar 2021 20:38:51 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2cabe2d..f2ba50c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;