Skip to content

Commit 500d7b9

Browse files
authored
Update photoprism.subdomain.conf.sample
this was mssing all the auth stuff; added it in
1 parent f8a0712 commit 500d7b9

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

photoprism.subdomain.conf.sample

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,23 @@ server {
1111

1212
client_max_body_size 0;
1313

14+
# enable for ldap auth, fill in ldap details in ldap.conf
15+
#include /config/nginx/ldap.conf;
16+
17+
# enable for Authelia
18+
#include /config/nginx/authelia-server.conf;
19+
1420
location / {
21+
# enable the next two lines for http auth
22+
#auth_basic "Restricted";
23+
#auth_basic_user_file /config/nginx/.htpasswd;
24+
25+
# enable the next two lines for ldap auth
26+
#auth_request /auth;
27+
#error_page 401 =200 /ldaplogin;
28+
29+
# enable for Authelia
30+
#include /config/nginx/authelia-location.conf;
1531

1632
include /config/nginx/proxy.conf;
1733
include /config/nginx/resolver.conf;

0 commit comments

Comments
 (0)