Add authentik config lines and adjust comments

This commit is contained in:
Eric Nemchik 2023-02-05 16:23:06 -06:00
commit 48f8a9950a
266 changed files with 2185 additions and 523 deletions

View file

@ -1,6 +1,9 @@
## Version 2022/09/08
## Version 2023/02/05
# make sure that your vaultwarden container is named vaultwarden
# make sure that vaultwarden is set to work with the base url /vaultwarden/
## Environmental Variable DOMAIN=https://<DOMAIN>/vaultwarden must be set in vaultwarden container including subfolder.
## This is using ports 80 and 3012
location /vaultwarden {
return 301 $scheme://$host/vaultwarden/;
}
@ -16,6 +19,9 @@ location ^~ /vaultwarden/ {
# enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf;
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app vaultwarden;
@ -36,6 +42,9 @@ location ~ (/vaultwarden)?/admin {
# enable for Authelia (requires authelia-server.conf in the server block)
#include /config/nginx/authelia-location.conf;
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app vaultwarden;