Skip to content

Commit

Permalink
Merge pull request #693 from jlssmt/vaultwarden
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus authored Sep 12, 2024
2 parents 83ef2f7 + 2ecdb71 commit 150ede5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vaultwarden.subdomain.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ server {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;

# if you enable admin page via ADMIN_TOKEN env variable
# consider restricting access to LAN only via uncommenting the following lines
#allow 10.0.0.0/8;
#allow 172.16.0.0/12;
#allow 192.168.0.0/16;
#deny all;

include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app vaultwarden;
Expand Down
7 changes: 7 additions & 0 deletions vaultwarden.subfolder.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ location ~ ^(/vaultwarden)?/admin {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;

# if you enable admin page via ADMIN_TOKEN env variable
# consider restricting access to LAN only via uncommenting the following lines
#allow 10.0.0.0/8;
#allow 172.16.0.0/12;
#allow 192.168.0.0/16;
#deny all;

include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app vaultwarden;
Expand Down

0 comments on commit 150ede5

Please sign in to comment.