1- ## Version 2023/05/31
1+ ## Version 2023/11/12
22# make sure that your bitwarden container is named bitwarden
33# make sure that your dns has a cname set for bitwarden
4- # set the environment variable WEBSOCKET_ENABLED=true on your bitwarden container
4+ # if you are using bitwarden (the official image), use the bitwarden conf
5+ # if you are using vaultwarden (an unofficial implementation), use the vaultwarden conf
6+ #
7+ # bitwarden defaults to port 8080 and can be changed using the environment variable BW_PORT_HTTP on the bitwarden container
58
69server {
710 listen 443 ssl http2;
@@ -39,7 +42,7 @@ server {
3942 include /config/nginx/proxy.conf;
4043 include /config/nginx/resolver.conf;
4144 set $upstream_app bitwarden;
42- set $upstream_port 80 ;
45+ set $upstream_port 8080 ;
4346 set $upstream_proto http;
4447 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4548
@@ -62,7 +65,7 @@ server {
6265 include /config/nginx/proxy.conf;
6366 include /config/nginx/resolver.conf;
6467 set $upstream_app bitwarden;
65- set $upstream_port 80 ;
68+ set $upstream_port 8080 ;
6669 set $upstream_proto http;
6770 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
6871
@@ -72,7 +75,7 @@ server {
7275 include /config/nginx/proxy.conf;
7376 include /config/nginx/resolver.conf;
7477 set $upstream_app bitwarden;
75- set $upstream_port 80 ;
78+ set $upstream_port 8080 ;
7679 set $upstream_proto http;
7780 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
7881
@@ -82,17 +85,7 @@ server {
8285 include /config/nginx/proxy.conf;
8386 include /config/nginx/resolver.conf;
8487 set $upstream_app bitwarden;
85- set $upstream_port 3012;
86- set $upstream_proto http;
87- proxy_pass $upstream_proto://$upstream_app:$upstream_port;
88-
89- }
90-
91- location ~ (/bitwarden)?/notifications/hub/negotiate {
92- include /config/nginx/proxy.conf;
93- include /config/nginx/resolver.conf;
94- set $upstream_app bitwarden;
95- set $upstream_port 80;
88+ set $upstream_port 8080;
9689 set $upstream_proto http;
9790 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
9891
0 commit comments