File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
56server {
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;
Original file line number Diff line number Diff line change 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;
You can’t perform that action at this time.
0 commit comments