Skip to content

Commit 150ede5

Browse files
authored
Merge pull request #693 from jlssmt/vaultwarden
2 parents 83ef2f7 + 2ecdb71 commit 150ede5

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

vaultwarden.subdomain.conf.sample

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ server {
6262
# enable for Authentik (requires authentik-server.conf in the server block)
6363
#include /config/nginx/authentik-location.conf;
6464

65+
# if you enable admin page via ADMIN_TOKEN env variable
66+
# consider restricting access to LAN only via uncommenting the following lines
67+
#allow 10.0.0.0/8;
68+
#allow 172.16.0.0/12;
69+
#allow 192.168.0.0/16;
70+
#deny all;
71+
6572
include /config/nginx/proxy.conf;
6673
include /config/nginx/resolver.conf;
6774
set $upstream_app vaultwarden;

vaultwarden.subfolder.conf.sample

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ location ~ ^(/vaultwarden)?/admin {
4949
# enable for Authentik (requires authentik-server.conf in the server block)
5050
#include /config/nginx/authentik-location.conf;
5151

52+
# if you enable admin page via ADMIN_TOKEN env variable
53+
# consider restricting access to LAN only via uncommenting the following lines
54+
#allow 10.0.0.0/8;
55+
#allow 172.16.0.0/12;
56+
#allow 192.168.0.0/16;
57+
#deny all;
58+
5259
include /config/nginx/proxy.conf;
5360
include /config/nginx/resolver.conf;
5461
set $upstream_app vaultwarden;

0 commit comments

Comments
 (0)