File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,13 @@ server {
62
62
# enable for Authentik (requires authentik-server.conf in the server block)
63
63
#include /config/nginx/authentik-location.conf;
64
64
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
+
65
72
include /config/nginx/proxy.conf;
66
73
include /config/nginx/resolver.conf;
67
74
set $upstream_app vaultwarden;
Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ location ~ ^(/vaultwarden)?/admin {
49
49
# enable for Authentik (requires authentik-server.conf in the server block)
50
50
#include /config/nginx/authentik-location.conf;
51
51
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
+
52
59
include /config/nginx/proxy.conf;
53
60
include /config/nginx/resolver.conf;
54
61
set $upstream_app vaultwarden;
You can’t perform that action at this time.
0 commit comments