mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-03-12 05:25:24 -07:00
Add authentik config lines and adjust comments
This commit is contained in:
parent
5a0a372742
commit
721e2297f9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user