Skip to content

Commit ddcc002

Browse files
committed
clarify correct config for *warden
Signed-off-by: Eric Nemchik <[email protected]>
1 parent 778c764 commit ddcc002

File tree

4 files changed

+21
-83
lines changed

4 files changed

+21
-83
lines changed

bitwarden.subdomain.conf.sample

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
## Version 2023/11/11
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+
# 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
48

59
server {
610
listen 443 ssl http2;
@@ -38,7 +42,7 @@ server {
3842
include /config/nginx/proxy.conf;
3943
include /config/nginx/resolver.conf;
4044
set $upstream_app bitwarden;
41-
set $upstream_port 80;
45+
set $upstream_port 8080;
4246
set $upstream_proto http;
4347
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4448

@@ -61,7 +65,7 @@ server {
6165
include /config/nginx/proxy.conf;
6266
include /config/nginx/resolver.conf;
6367
set $upstream_app bitwarden;
64-
set $upstream_port 80;
68+
set $upstream_port 8080;
6569
set $upstream_proto http;
6670
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
6771

@@ -71,7 +75,7 @@ server {
7175
include /config/nginx/proxy.conf;
7276
include /config/nginx/resolver.conf;
7377
set $upstream_app bitwarden;
74-
set $upstream_port 80;
78+
set $upstream_port 8080;
7579
set $upstream_proto http;
7680
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
7781

@@ -81,7 +85,7 @@ server {
8185
include /config/nginx/proxy.conf;
8286
include /config/nginx/resolver.conf;
8387
set $upstream_app bitwarden;
84-
set $upstream_port 80;
88+
set $upstream_port 8080;
8589
set $upstream_proto http;
8690
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
8791

bitwarden.subfolder.conf.sample

Lines changed: 0 additions & 75 deletions
This file was deleted.

vaultwarden.subdomain.conf.sample

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
## Version 2023/11/11
1+
## Version 2023/11/12
22
# make sure that your vaultwarden container is named vaultwarden
33
# make sure that your dns has a cname set for vaultwarden
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+
# vaultwarden defaults to port 80 and can be changed using the environment variable ROCKET_PORT on the vaultwarden container
48

59
server {
610
listen 443 ssl http2;

vaultwarden.subfolder.conf.sample

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
## Version 2023/11/11
1+
## Version 2023/11/12
22
# make sure that your vaultwarden container is named vaultwarden
33
# make sure that vaultwarden is set to work with the base url /vaultwarden/
4-
## Environmental Variable DOMAIN=https://<DOMAIN>/vaultwarden must be set in vaultwarden container including subfolder.
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+
# vaultwarden defaults to port 80 and can be changed using the environment variable ROCKET_PORT on the vaultwarden container
8+
#
9+
# Environmental Variable DOMAIN=https://<DOMAIN>/vaultwarden must be set in vaultwarden container including subfolder.
510

611
location /vaultwarden {
712
return 301 $scheme://$host/vaultwarden/;

0 commit comments

Comments
 (0)