From e89c86960e503668eabe09ef8a06e0e923d0ef64 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 16 Jul 2020 14:01:00 +0200 Subject: [PATCH] services: letsencrypt: use Authelia on Fava UI --- letsencrypt/nginx/proxy-confs/fava.subdomain.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/letsencrypt/nginx/proxy-confs/fava.subdomain.conf b/letsencrypt/nginx/proxy-confs/fava.subdomain.conf index 7d204ba..b25fbf3 100644 --- a/letsencrypt/nginx/proxy-confs/fava.subdomain.conf +++ b/letsencrypt/nginx/proxy-confs/fava.subdomain.conf @@ -13,6 +13,9 @@ server { # enable for ldap auth, fill in ldap details in ldap.conf #include /config/nginx/ldap.conf; + # enable for Authelia + include /config/nginx/authelia-server.conf; + location / { # enable the next two lines for http auth #auth_basic "Restricted"; @@ -22,6 +25,9 @@ server { #auth_request /auth; #error_page 401 =200 /login; + # enable for Authelia + include /config/nginx/authelia-location.conf; + include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_app fava;