File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
root/defaults/nginx/site-confs Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1- ## Version 2023/04/13 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
1+ ## Version 2023/06/05 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/default.conf.sample
22
33# redirect all traffic to https
44server {
@@ -52,6 +52,19 @@ server {
5252 }
5353
5454 location ~ ^(.+\.php)(.*)$ {
55+ # enable the next two lines for http auth
56+ #auth_basic "Restricted";
57+ #auth_basic_user_file /config/nginx/.htpasswd;
58+
59+ # enable for ldap auth (requires ldap-server.conf in the server block)
60+ #include /config/nginx/ldap-location.conf;
61+
62+ # enable for Authelia (requires authelia-server.conf in the server block)
63+ #include /config/nginx/authelia-location.conf;
64+
65+ # enable for Authentik (requires authentik-server.conf in the server block)
66+ #include /config/nginx/authentik-location.conf;
67+
5568 fastcgi_split_path_info ^(.+\.php)(.*)$;
5669 fastcgi_pass 127.0.0.1:9000;
5770 fastcgi_index index.php;
You can’t perform that action at this time.
0 commit comments