Skip to content

Commit 7a85418

Browse files
authored
Update duplicacy.subdomain.conf.sample
1 parent eba01bc commit 7a85418

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

duplicacy.subdomain.conf.sample

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Version 2022/01/17
1+
## Version 2023/04/13
2+
# make sure that your duplicacy container is named duplicacy
23
# make sure that your dns has a cname set for duplicacy
34

45
server {
@@ -11,24 +12,29 @@ server {
1112

1213
client_max_body_size 0;
1314

14-
# enable for ldap auth, fill in ldap details in ldap.conf
15-
#include /config/nginx/ldap.conf;
15+
# enable for ldap auth (requires ldap-location.conf in the location block)
16+
#include /config/nginx/ldap-server.conf;
1617

17-
# enable for Authelia
18+
# enable for Authelia (requires authelia-location.conf in the location block)
1819
#include /config/nginx/authelia-server.conf;
1920

21+
# enable for Authentik (requires authentik-location.conf in the location block)
22+
#include /config/nginx/authentik-server.conf;
23+
2024
location / {
2125
# enable the next two lines for http auth
2226
#auth_basic "Restricted";
2327
#auth_basic_user_file /config/nginx/.htpasswd;
2428

25-
# enable the next two lines for ldap auth
26-
#auth_request /auth;
27-
#error_page 401 =200 /ldaplogin;
29+
# enable for ldap auth (requires ldap-server.conf in the server block)
30+
#include /config/nginx/ldap-location.conf;
2831

29-
# enable for Authelia
32+
# enable for Authelia (requires authelia-server.conf in the server block)
3033
#include /config/nginx/authelia-location.conf;
3134

35+
# enable for Authentik (requires authentik-server.conf in the server block)
36+
#include /config/nginx/authentik-location.conf;
37+
3238
include /config/nginx/proxy.conf;
3339
include /config/nginx/resolver.conf;
3440
set $upstream_app duplicacy;

0 commit comments

Comments
 (0)