Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Make API work in single docker context (#1098)
Leendert de Borstff90cc2937ae
diff --git a/apps/server/nginx.single.conf b/apps/server/nginx.single.confindex 147800d24..7e0a0f392 100644--- a/apps/server/nginx.single.conf+++ b/apps/server/nginx.single.conf@@ -74,8 +74,8 @@ http {add_header Content-Security-Policy "frame-ancestors 'self'" always;# Admin interface- location /admin {- proxy_pass http://admin;+ location /admin/ {+ proxy_pass http://admin/;proxy_set_header Host $http_host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-Proto https;@@ -91,15 +91,23 @@ http {proxy_set_header Connection "upgrade";proxy_read_timeout 86400;}++ location /admin {+ return 301 $scheme://$host/admin/;+ }# API endpoints- location /api {- proxy_pass http://api;+ location /api/ {+ proxy_pass http://api/;proxy_set_header Host $http_host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-Proto $scheme;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;}++ location /api {+ return 301 $scheme://$host/api/;+ }# Client app (root path)location / {