@@ -15,7 +15,29 @@ server {
1515
1616 include /config/nginx/ssl.conf;
1717
18+ # enable for ldap auth (requires ldap-location.conf in the location block)
19+ #include /config/nginx/ldap-server.conf;
20+
21+ # enable for Authelia (requires authelia-location.conf in the location block)
22+ #include /config/nginx/authelia-server.conf;
23+
24+ # enable for Authentik (requires authentik-location.conf in the location block)
25+ #include /config/nginx/authentik-server.conf;
26+
1827 location / {
28+ # enable the next two lines for http auth
29+ #auth_basic "Restricted";
30+ #auth_basic_user_file /config/nginx/.htpasswd;
31+
32+ # enable for ldap auth (requires ldap-server.conf in the server block)
33+ #include /config/nginx/ldap-location.conf;
34+
35+ # enable for Authelia (requires authelia-server.conf in the server block)
36+ #include /config/nginx/authelia-location.conf;
37+
38+ # enable for Authentik (requires authentik-server.conf in the server block)
39+ #include /config/nginx/authentik-location.conf;
40+
1941 include /config/nginx/proxy.conf;
2042 include /config/nginx/resolver.conf;
2143 set $upstream_app nexusoss;
@@ -29,6 +51,19 @@ server {
2951 }
3052
3153 location /v2/ {
54+ # enable the next two lines for http auth
55+ #auth_basic "Restricted";
56+ #auth_basic_user_file /config/nginx/.htpasswd;
57+
58+ # enable for ldap auth (requires ldap-server.conf in the server block)
59+ #include /config/nginx/ldap-location.conf;
60+
61+ # enable for Authelia (requires authelia-server.conf in the server block)
62+ #include /config/nginx/authelia-location.conf;
63+
64+ # enable for Authentik (requires authentik-server.conf in the server block)
65+ #include /config/nginx/authentik-location.conf;
66+
3267 include /config/nginx/proxy.conf;
3368 include /config/nginx/resolver.conf;
3469 set $upstream_app nexusoss;
0 commit comments