Skip to content

Commit

Permalink
Update vaultwarden.subdomain.conf.sample
Browse files Browse the repository at this point in the history
Adds header upgrades needed for websockets to work properly.
  • Loading branch information
revilo951 authored Jul 9, 2023
1 parent c51e31e commit 97da430
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vaultwarden.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2023/05/31
## Version 2023/07/10
# make sure that your vaultwarden container is named vaultwarden
# make sure that your dns has a cname set for vaultwarden
# set the environment variable WEBSOCKET_ENABLED=true on your vaultwarden container
Expand Down Expand Up @@ -84,6 +84,8 @@ server {
set $upstream_app vaultwarden;
set $upstream_port 3012;
set $upstream_proto http;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
Expand Down

0 comments on commit 97da430

Please sign in to comment.