Add authentik config lines and adjust comments

This commit is contained in:
roib20 2023-02-14 00:52:11 +02:00 committed by GitHub
commit 721e2297f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View file

@ -1,7 +1,9 @@
## Version 2023/02/05
# make sure that the BASE_URL env variable in Planka container is set to: BASE_URL="https://example.com/planka/"
# make sure that your planka container is named planka
# make sure that the BASE_URL env variable in planka container is set to: BASE_URL="https://example.com/planka/"
location /<container_name> {
location /planka {
return 301 $scheme://$host/planka/;
}
@ -16,6 +18,9 @@ location ^~ /planka/ {
# 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 planka;