From f9f9b677d957ebce6ef33bf1976f23b21bff7416 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Thu, 9 Feb 2023 15:52:20 -0600 Subject: [PATCH] Update default.conf.sample --- root/defaults/nginx/site-confs/default.conf.sample | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/root/defaults/nginx/site-confs/default.conf.sample b/root/defaults/nginx/site-confs/default.conf.sample index 2b3caf4..a0f4d8a 100644 --- a/root/defaults/nginx/site-confs/default.conf.sample +++ b/root/defaults/nginx/site-confs/default.conf.sample @@ -29,6 +29,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 for basic auth #auth_basic "Restricted"; @@ -40,6 +43,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; + try_files $uri $uri/ /index.html /index.php$is_args$args =404; }