File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
## Version 2023/02/05
2
+ # make sure that your planka container is named planka
2
3
# 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"
4
5
5
6
server {
6
7
listen 443 ssl;
@@ -18,6 +19,9 @@ server {
18
19
# enable for Authelia (requires authelia-location.conf in the location block)
19
20
#include /config/nginx/authelia-server.conf;
20
21
22
+ # enable for Authentik (requires authentik-location.conf in the location block)
23
+ #include /config/nginx/authentik-server.conf;
24
+
21
25
location / {
22
26
# enable the next two lines for http auth
23
27
#auth_basic "Restricted";
@@ -29,6 +33,9 @@ server {
29
33
# enable for Authelia (requires authelia-server.conf in the server block)
30
34
#include /config/nginx/authelia-location.conf;
31
35
36
+ # enable for Authentik (requires authentik-server.conf in the server block)
37
+ #include /config/nginx/authentik-location.conf;
38
+
32
39
include /config/nginx/proxy.conf;
33
40
include /config/nginx/resolver.conf;
34
41
set $upstream_app planka;
Original file line number Diff line number Diff line change 1
1
## 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/"
3
4
4
- location /<container_name> {
5
+
6
+ location /planka {
5
7
return 301 $scheme://$host/planka/;
6
8
}
7
9
@@ -16,6 +18,9 @@ location ^~ /planka/ {
16
18
# enable for Authelia (requires authelia-server.conf in the server block)
17
19
#include /config/nginx/authelia-location.conf;
18
20
21
+ # enable for Authentik (requires authentik-server.conf in the server block)
22
+ #include /config/nginx/authentik-location.conf;
23
+
19
24
include /config/nginx/proxy.conf;
20
25
include /config/nginx/resolver.conf;
21
26
set $upstream_app planka;
You can’t perform that action at this time.
0 commit comments