Skip to content

Commit 721e229

Browse files
authored
Add authentik config lines and adjust comments
1 parent 5a0a372 commit 721e229

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

planka.subdomain.conf.sample

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Version 2023/02/05
2+
# make sure that your planka container is named planka
23
# make sure that your dns has a cname set for planka
3-
# make sure that the BASE_URL env variable in Planka container is set to: BASE_URL="https://planka.example.com"
4+
# make sure that the BASE_URL env variable in planka container is set to: BASE_URL="https://planka.example.com"
45

56
server {
67
listen 443 ssl;
@@ -18,6 +19,9 @@ server {
1819
# enable for Authelia (requires authelia-location.conf in the location block)
1920
#include /config/nginx/authelia-server.conf;
2021

22+
# enable for Authentik (requires authentik-location.conf in the location block)
23+
#include /config/nginx/authentik-server.conf;
24+
2125
location / {
2226
# enable the next two lines for http auth
2327
#auth_basic "Restricted";
@@ -29,6 +33,9 @@ server {
2933
# enable for Authelia (requires authelia-server.conf in the server block)
3034
#include /config/nginx/authelia-location.conf;
3135

36+
# enable for Authentik (requires authentik-server.conf in the server block)
37+
#include /config/nginx/authentik-location.conf;
38+
3239
include /config/nginx/proxy.conf;
3340
include /config/nginx/resolver.conf;
3441
set $upstream_app planka;

planka.subfolder.conf.sample

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## Version 2023/02/05
2-
# make sure that the BASE_URL env variable in Planka container is set to: BASE_URL="https://example.com/planka/"
2+
# make sure that your planka container is named planka
3+
# make sure that the BASE_URL env variable in planka container is set to: BASE_URL="https://example.com/planka/"
34

4-
location /<container_name> {
5+
6+
location /planka {
57
return 301 $scheme://$host/planka/;
68
}
79

@@ -16,6 +18,9 @@ location ^~ /planka/ {
1618
# enable for Authelia (requires authelia-server.conf in the server block)
1719
#include /config/nginx/authelia-location.conf;
1820

21+
# enable for Authentik (requires authentik-server.conf in the server block)
22+
#include /config/nginx/authentik-location.conf;
23+
1924
include /config/nginx/proxy.conf;
2025
include /config/nginx/resolver.conf;
2126
set $upstream_app planka;

0 commit comments

Comments
 (0)