vaultwarden: fix websocket pass through

This commit is contained in:
Markus 2024-07-18 19:44:11 +02:00
parent 6675814d77
commit e40b981476

View File

@ -33,6 +33,9 @@ server {
location / { location / {
proxy_pass http://localhost:4000; proxy_pass http://localhost:4000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
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;