services: letsencrypt: use Authelia on Syncthing UI
This commit is contained in:
parent
9bc89a648d
commit
ebf024a141
|
@ -13,6 +13,9 @@ server {
|
||||||
# enable for ldap auth, fill in ldap details in ldap.conf
|
# enable for ldap auth, fill in ldap details in ldap.conf
|
||||||
#include /config/nginx/ldap.conf;
|
#include /config/nginx/ldap.conf;
|
||||||
|
|
||||||
|
# enable for Authelia
|
||||||
|
include /config/nginx/authelia-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
|
@ -20,7 +23,10 @@ server {
|
||||||
|
|
||||||
# enable the next two lines for ldap auth
|
# enable the next two lines for ldap auth
|
||||||
#auth_request /auth;
|
#auth_request /auth;
|
||||||
#error_page 401 =200 /login;
|
#error_page 401 =200 /ldaplogin;
|
||||||
|
|
||||||
|
# enable for Authelia
|
||||||
|
include /config/nginx/authelia-location.conf;
|
||||||
|
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
|
|
Reference in a new issue