From 2d774aac9b8b00520f1f929ea07781f792bb8f6c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 23 Mar 2020 02:28:10 +0100 Subject: [PATCH] Fix subpath for notifications --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 89d793b..ae95ddf 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,7 +19,7 @@ location __PATH__/ { include conf.d/yunohost_panel.conf.inc; } -location /notifications/hub { +location __FINALPATH__/notifications/hub { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -28,6 +28,6 @@ location /notifications/hub { proxy_pass http://127.0.0.1:__WEBSOCKET_PORT__; } -location /notifications/hub/negotiate { +location __FINALPATH__/notifications/hub/negotiate { proxy_pass http://127.0.0.1:__ROCKET_PORT__; } \ No newline at end of file