mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Add authentik config lines and adjust comments
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user