1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

Fix subpath for notifications

This commit is contained in:
yalh76 2020-03-23 02:28:10 +01:00
parent da19f70374
commit 2d774aac9b

View file

@ -19,7 +19,7 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }
location /notifications/hub { location __FINALPATH__/notifications/hub {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 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__; 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__; proxy_pass http://127.0.0.1:__ROCKET_PORT__;
} }