Add authentik config lines and adjust comments

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

@ -1,6 +1,7 @@
## Version 2023/02/05
# make sure that your planka container is named planka
# make sure that your dns has a cname set for planka
# make sure that the BASE_URL env variable in Planka container is set to: BASE_URL="https://planka.example.com"
# make sure that the BASE_URL env variable in planka container is set to: BASE_URL="https://planka.example.com"
server {
listen 443 ssl;
@ -18,6 +19,9 @@ server {
# enable for Authelia (requires authelia-location.conf in the location block)
#include /config/nginx/authelia-server.conf;
# enable for Authentik (requires authentik-location.conf in the location block)
#include /config/nginx/authentik-server.conf;
location / {
# enable the next two lines for http auth
#auth_basic "Restricted";
@ -29,6 +33,9 @@ server {
# 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;

@ -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;