diff --git a/roles/vaultwarden/templates/vhost.j2 b/roles/vaultwarden/templates/vhost.j2
index 657656d..8b2ed28 100644
--- a/roles/vaultwarden/templates/vhost.j2
+++ b/roles/vaultwarden/templates/vhost.j2
@@ -33,6 +33,9 @@ server {
 
 	location / {
 		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 X-Real-IP $remote_addr;
 		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;