From 6e4cb5d39cf8c83ca20970fff195f071e5d8d2fc Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Thu, 8 Sep 2022 20:08:24 +0000 Subject: [PATCH] Adjustments for standard-base https://github.com/linuxserver/docker-swag/pull/169 https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/84 --- _template.subdomain.conf.sample | 15 +++++----- _template.subfolder.conf.sample | 11 ++++--- adguard.subdomain.conf.sample | 17 +++++------ adminer.subfolder.conf.sample | 9 +++--- adminmongo.subdomain.conf.sample | 15 +++++----- airsonic.subdomain.conf.sample | 15 +++++----- airsonic.subfolder.conf.sample | 9 +++--- archisteamfarm.subdomain.conf.sample | 15 +++++----- aria2-with-webui.subdomain.conf.sample | 17 +++++------ audiobookshelf.subdomain.conf.sample | 15 +++++----- audiobookshelf.subfolder.conf.sample | 9 +++--- babybuddy.subdomain.conf.sample | 15 +++++----- bazarr.subdomain.conf.sample | 15 +++++----- bazarr.subfolder.conf.sample | 9 +++--- beets.subdomain.conf.sample | 15 +++++----- beets.subfolder.conf.sample | 9 +++--- bitwarden.subdomain.conf.sample | 22 +++++++------- bitwarden.subfolder.conf.sample | 16 +++++----- boinc.subdomain.conf.sample | 15 +++++----- boinc.subfolder.conf.sample | 9 +++--- booksonic.subdomain.conf.sample | 15 +++++----- booksonic.subfolder.conf.sample | 9 +++--- bookstack.subdomain.conf.sample | 15 +++++----- calibre-web.subdomain.conf.sample | 23 +++++++-------- calibre-web.subfolder.conf.sample | 15 +++++----- calibre.subdomain.conf.sample | 22 +++++++------- calibre.subfolder.conf.sample | 16 +++++----- changedetection.subdomain.conf.sample | 17 +++++------ chevereto.subdomain.conf.sample | 15 +++++----- chronograf.subdomain.conf.sample | 15 +++++----- chronograf.subfolder.conf.sample | 9 +++--- cloudbeaver.subdomain.conf.sample | 17 +++++------ code-server.subdomain.conf.sample | 15 +++++----- codimd.subdomain.conf.sample | 15 +++++----- collabora.subdomain.conf.sample | 15 +++++----- commento.subdomain.conf.sample | 15 +++++----- couchpotato.subdomain.conf.sample | 15 +++++----- couchpotato.subfolder.conf.sample | 9 +++--- crontabui.subfolder.conf.sample | 9 +++--- crowdsec-dashboard.subdomain.conf.sample | 17 +++++------ dashy.subdomain.conf.sample | 15 +++++----- deluge.subdomain.conf.sample | 15 +++++----- deluge.subfolder.conf.sample | 9 +++--- dillinger.subdomain.conf.sample | 15 +++++----- documentserver.subdomain.conf.sample | 15 +++++----- dokuwiki.subdomain.conf.sample | 15 +++++----- dokuwiki.subfolder.conf.sample | 9 +++--- domoticz.subdomain.conf.sample | 15 +++++----- domoticz.subfolder.conf.sample | 9 +++--- dozzle.subdomain.conf.sample | 15 +++++----- dozzle.subfolder.conf.sample | 9 +++--- drone.subdomain.conf.sample | 21 +++++++------- duplicati.subdomain.conf.sample | 15 +++++----- duplicati.subfolder.conf.sample | 9 +++--- embystat.subdomain.conf.sample | 15 +++++----- emulatorjs.subdomain.conf.sample | 28 +++++++++--------- filebot.subdomain.conf.sample | 15 +++++----- filebot.subfolder.conf.sample | 9 +++--- filebrowser.subdomain.conf.sample | 15 +++++----- filebrowser.subfolder.conf.sample | 9 +++--- firefly.subdomain.conf.sample | 15 +++++----- firefox.subdomain.conf.sample | 15 +++++----- flexget.subdomain.conf.sample | 17 +++++------ flexget.subfolder.conf.sample | 15 +++++----- flood.subdomain.conf.sample | 15 +++++----- flood.subfolder.conf.sample | 9 +++--- foldingathome.subdomain.conf.sample | 15 +++++----- foundryvtt.subdomain.conf.sample | 21 +++++++------- freshrss.subdomain.conf.sample | 15 +++++----- freshrss.subfolder.conf.sample | 9 +++--- gaps.subdomain.conf.sample | 15 +++++----- gaps.subfolder.conf.sample | 9 +++--- get_iplayer.subdomain.conf.sample | 15 +++++----- ghost.subdomain.conf.sample | 15 +++++----- ghost.subfolder.conf.sample | 29 +++++++++---------- gitea.subdomain.conf.sample | 15 +++++----- glances.subdomain.conf.sample | 15 +++++----- glances.subfolder.conf.sample | 9 +++--- gotify.subdomain.conf.sample | 15 +++++----- gotify.subfolder.conf.sample | 9 +++--- grafana.subdomain.conf.sample | 19 ++++++------ grafana.subfolder.conf.sample | 13 ++++----- grocy.subdomain.conf.sample | 17 +++++------ guacamole.subdomain.conf.sample | 15 +++++----- guacamole.subfolder.conf.sample | 9 +++--- hass-configurator.subdomain.conf.sample | 20 ++++++------- headphones.subdomain.conf.sample | 15 +++++----- headphones.subfolder.conf.sample | 9 +++--- healthchecks.subdomain.conf.sample | 15 +++++----- hedgedoc.subdomain.conf.sample | 15 +++++----- heimdall.subdomain.conf.sample | 15 +++++----- heimdall.subfolder.conf.sample | 9 +++--- homeassistant.subdomain.conf.sample | 15 +++++----- homebridge.subdomain.conf.sample | 16 +++++----- homer.subdomain.conf.sample | 15 +++++----- huginn.subdomain.conf.sample | 15 +++++----- influxdb.subdomain.conf.sample | 15 +++++----- jackett.subdomain.conf.sample | 15 +++++----- jackett.subfolder.conf.sample | 9 +++--- jdownloader.subdomain.conf.sample | 15 +++++----- jellyseerr.subdomain.conf.sample | 21 +++++++------- jenkins.subfolder.conf.sample | 9 +++--- kanzi.subdomain.conf.sample | 15 +++++----- kanzi.subfolder.conf.sample | 9 +++--- komga.subdomain.conf.sample | 15 +++++----- komga.subfolder.conf.sample | 9 +++--- lazylibrarian.subdomain.conf.sample | 15 +++++----- lazylibrarian.subfolder.conf.sample | 9 +++--- librespeed.subdomain.conf.sample | 15 +++++----- lidarr.subdomain.conf.sample | 15 +++++----- lidarr.subfolder.conf.sample | 9 +++--- lychee.subdomain.conf.sample | 15 +++++----- lychee.subfolder.conf.sample | 9 +++--- mailu.subdomain.conf.sample | 15 +++++----- mailu.subfolder.conf.sample | 16 +++++----- matomo.subdomain.conf.sample | 16 +++++----- mealie.subdomain.conf.sample | 19 ++++++++++-- medusa.subdomain.conf.sample | 15 +++++----- medusa.subfolder.conf.sample | 9 +++--- metube.subdomain.conf.sample | 17 +++++------ metube.subfolder.conf.sample | 9 +++--- miniflux.subdomain.conf.sample | 15 +++++----- miniflux.subfolder.conf.sample | 9 +++--- monica.subdomain.conf.sample | 15 +++++----- monica.subfolder.conf.sample | 9 +++--- monitorr.subdomain.conf.sample | 15 +++++----- monitorr.subfolder.conf.sample | 9 +++--- mstream.subdomain.conf.sample | 15 +++++----- mylar.subdomain.conf.sample | 15 +++++----- mylar.subfolder.conf.sample | 9 +++--- mytinytodo.subfolder.conf.sample | 9 +++--- n8n.subdomain.conf.sample | 15 +++++----- navidrome.subdomain.conf.sample | 15 +++++----- netboot.subdomain.conf.sample | 15 +++++----- netdata.subdomain.conf.sample | 15 +++++----- netdata.subfolder.conf.sample | 9 +++--- nzbget.subdomain.conf.sample | 15 +++++----- nzbget.subfolder.conf.sample | 9 +++--- nzbhydra.subdomain.conf.sample | 15 +++++----- nzbhydra.subfolder.conf.sample | 9 +++--- octoprint.subdomain.conf.sample | 16 +++++----- ombi.subdomain.conf.sample | 15 +++++----- ombi.subfolder.conf.sample | 9 +++--- openhab.subdomain.conf.sample | 15 +++++----- openvpn-as.subdomain.conf.sample | 22 +++++++------- openvscode-server.subdomain.conf.sample | 28 +++++++++--------- organizr.subdomain.conf.sample | 15 +++++----- organizr.subfolder.conf.sample | 9 +++--- osticket.subdomain.conf.sample | 15 +++++----- overseerr.subdomain.conf.sample | 21 +++++++++++--- papermerge.subdomain.conf.sample | 17 +++++------ petio.subdomain.conf.sample | 15 +++++----- petio.subfolder.conf.sample | 9 +++--- pgadmin.subdomain.conf.sample | 37 +++++++++++++----------- photoprism.subdomain.conf.sample | 19 +++++------- phpmyadmin.subdomain.conf.sample | 15 +++++----- phpmyadmin.subfolder.conf.sample | 9 +++--- picard.subfolder.conf.sample | 9 +++--- pihole.subdomain.conf.sample | 22 +++++++------- pihole.subfolder.conf.sample | 16 +++++----- pinry.subdomain.conf.sample | 17 +++++------ piwigo.subdomain.conf.sample | 15 +++++----- pixelfed.subdomain.conf.sample | 15 +++++----- plex.subdomain.conf.sample | 15 +++++----- plex.subfolder.conf.sample | 9 +++--- plexwebtools.subdomain.conf.sample | 15 +++++----- plexwebtools.subfolder.conf.sample | 9 +++--- podgrab.subdomain.conf.sample | 16 +++++----- portainer.subdomain.conf.sample | 22 +++++++------- portainer.subfolder.conf.sample | 9 +++--- privatebin.subdomain.conf.sample | 15 +++++----- prometheus.subdomain.conf.sample | 15 +++++----- prowlarr.subdomain.conf.sample | 16 +++++----- prowlarr.subfolder.conf.sample | 9 +++--- pydio-cells.subdomain.conf.sample | 22 +++++++------- pydio.subdomain.conf.sample | 15 +++++----- pyload.subdomain.conf.sample | 15 +++++----- pyload.subfolder.conf.sample | 9 +++--- qbittorrent.subdomain.conf.sample | 15 +++++----- qbittorrent.subfolder.conf.sample | 9 +++--- quassel-web.subdomain.conf.sample | 15 +++++----- quassel-web.subfolder.conf.sample | 9 +++--- radarr.subdomain.conf.sample | 15 +++++----- radarr.subfolder.conf.sample | 9 +++--- raneto.subdomain.conf.sample | 15 +++++----- rclone.subfolder.conf.sample | 9 +++--- readarr.subdomain.conf.sample | 15 +++++----- readarr.subfolder.conf.sample | 9 +++--- recipes.subdomain.conf.sample | 19 ++++++------ requestrr.subdomain.conf.sample | 15 +++++----- resilio-sync.subdomain.conf.sample | 15 +++++----- rutorrent.subdomain.conf.sample | 22 +++++++------- rutorrent.subfolder.conf.sample | 16 +++++----- sabnzbd.subdomain.conf.sample | 15 +++++----- sabnzbd.subfolder.conf.sample | 9 +++--- scope.subfolder.conf.sample | 9 +++--- scrutiny.subdomain.conf.sample | 16 +++++----- shinobi.subdomain.conf.sample | 16 +++++----- shinobi.subfolder.conf.sample | 9 +++--- sickchill.subdomain.conf.sample | 15 +++++----- sickchill.subfolder.conf.sample | 9 +++--- sickrage.subdomain.conf.sample | 15 +++++----- sickrage.subfolder.conf.sample | 9 +++--- skyhook.subdomain.conf.sample | 16 +++++----- smokeping.subdomain.conf.sample | 15 +++++----- smokeping.subfolder.conf.sample | 9 +++--- sonarr.subdomain.conf.sample | 15 +++++----- sonarr.subfolder.conf.sample | 9 +++--- statping.subdomain.conf.sample | 15 +++++----- synapse.subdomain.conf.sample | 15 +++++----- synclounge.subdomain.conf.sample | 16 +++++----- synclounge.subfolder.conf.sample | 9 +++--- syncthing.subdomain.conf.sample | 15 +++++----- syncthing.subfolder.conf.sample | 9 +++--- taisun.subdomain.conf.sample | 15 +++++----- tasmobackup.subdomain.conf.sample | 15 +++++----- tautulli.subdomain.conf.sample | 16 +++++----- tautulli.subfolder.conf.sample | 11 ++++--- tdarr.subdomain.conf.sample | 15 +++++----- thelounge.subdomain.conf.sample | 15 +++++----- thelounge.subfolder.conf.sample | 9 +++--- transmission.subdomain.conf.sample | 15 +++++----- transmission.subfolder.conf.sample | 9 +++--- ubooquity.subdomain.conf.sample | 15 +++++----- ubooquity.subfolder.conf.sample | 9 +++--- unifi-controller.subdomain.conf.sample | 15 +++++----- uptime-kuma.subdomain.conf.sample | 15 +++++----- vaultwarden.subdomain.conf.sample | 22 +++++++------- vaultwarden.subfolder.conf.sample | 16 +++++----- wallabag.subdomain.conf.sample | 15 +++++----- webtop.subdomain.conf.sample | 15 +++++----- wordpress.subfolder.conf.sample | 11 ++++--- yacht.subdomain.conf.sample | 17 +++++------ youtube-dl-server.subdomain.conf.sample | 16 +++++----- youtube-dl.subfolder.conf.sample | 10 ++++--- znc.subdomain.conf.sample | 15 +++++----- znc.subfolder.conf.sample | 9 +++--- zwavejs2mqtt.subdomain.conf.sample | 15 +++++----- 238 files changed, 1554 insertions(+), 1787 deletions(-) diff --git a/_template.subdomain.conf.sample b/_template.subdomain.conf.sample index f13fe8f..0046268 100644 --- a/_template.subdomain.conf.sample +++ b/_template.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # REMOVE THIS LINE BEFORE SUBMITTING: The structure of the file (all of the existing lines) should be kept as close as possible to this template. # REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for and replace them. Review other sample files to see how things are done. # REMOVE THIS LINE BEFORE SUBMITTING: The comment lines at the top of the file (below this line) should explain any prerequisites for using the proxy such as DNS or app settings. @@ -14,10 +14,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,11 +25,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/_template.subfolder.conf.sample b/_template.subfolder.conf.sample index b7f06e4..46be8cc 100644 --- a/_template.subfolder.conf.sample +++ b/_template.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # REMOVE THIS LINE BEFORE SUBMITTING: The structure of the file (all of the existing lines) should be kept as close as possible to this template. # REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for and replace them. Review other sample files to see how things are done. # REMOVE THIS LINE BEFORE SUBMITTING: The comment lines at the top of the file (below this line) should explain any prerequisites for using the proxy such as DNS or app settings. @@ -13,11 +13,10 @@ location ^~ // { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -39,6 +38,6 @@ location ^~ // { # set $upstream_port ; # set $upstream_proto ; # proxy_pass $upstream_proto://$upstream_app:$upstream_port; -# +# # # REMOVE THIS LINE BEFORE SUBMITTING: Additional proxy settings such as headers go below this line, leave the blank line above. # } diff --git a/adguard.subdomain.conf.sample b/adguard.subdomain.conf.sample index e4a17fc..73ea6f3 100644 --- a/adguard.subdomain.conf.sample +++ b/adguard.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/09/24 +## Version 2022/09/08 # make sure that your dns has a cname set for adguard and that your adguard container is named adguard server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -47,7 +46,7 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - + location /dns-query { # to properly use this please set `allow_unencrypted_doh: true` and `force_https: false` in adguard # see https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file diff --git a/adminer.subfolder.conf.sample b/adminer.subfolder.conf.sample index c34fd80..c9b0ee0 100644 --- a/adminer.subfolder.conf.sample +++ b/adminer.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # adminer does not require a base url setting, but the container needs to be named adminer location /adminer { @@ -10,11 +10,10 @@ location ^~ /adminer/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/adminmongo.subdomain.conf.sample b/adminmongo.subdomain.conf.sample index c4adb76..509a661 100644 --- a/adminmongo.subdomain.conf.sample +++ b/adminmongo.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/03 +## Version 2022/09/08 # make sure that your dns has a cname set for adminmongo and that your adminmongo container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/airsonic.subdomain.conf.sample b/airsonic.subdomain.conf.sample index 06b920a..197bc7f 100644 --- a/airsonic.subdomain.conf.sample +++ b/airsonic.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for airsonic and that your airsonic container is not using a base url # add `server.use-forward-headers=true` to `/config/application.properties` to ensure logs contain real source IP @@ -12,10 +12,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/airsonic.subfolder.conf.sample b/airsonic.subfolder.conf.sample index 89586f5..aa97b18 100644 --- a/airsonic.subfolder.conf.sample +++ b/airsonic.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the CONTEXT_PATH variable to /airsonic in airsonic container. location ^~ /airsonic { @@ -6,11 +6,10 @@ location ^~ /airsonic { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/archisteamfarm.subdomain.conf.sample b/archisteamfarm.subdomain.conf.sample index 5a764f8..7d5d589 100644 --- a/archisteamfarm.subdomain.conf.sample +++ b/archisteamfarm.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for archisteamfarm server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/aria2-with-webui.subdomain.conf.sample b/aria2-with-webui.subdomain.conf.sample index ddb5f25..5223f6b 100644 --- a/aria2-with-webui.subdomain.conf.sample +++ b/aria2-with-webui.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that your dns has a cname set for aria2 and that your aria2-with-webui container is not using a base url # # The RPC port will need to be changed to 443 in the AriaNg/WebUI-Aria2 settings or by using the AriaNg command api @@ -15,10 +15,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -26,11 +26,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -41,7 +40,7 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - + location ~ (/aria2-with-webui)?/jsonrpc { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; diff --git a/audiobookshelf.subdomain.conf.sample b/audiobookshelf.subdomain.conf.sample index 30ba450..1e2c286 100644 --- a/audiobookshelf.subdomain.conf.sample +++ b/audiobookshelf.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for audiobookshelf and that your audiobookshelf container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/audiobookshelf.subfolder.conf.sample b/audiobookshelf.subfolder.conf.sample index 22cda40..94d1a5d 100644 --- a/audiobookshelf.subfolder.conf.sample +++ b/audiobookshelf.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the CONTEXT_PATH variable to /audiobookshelf in audiobookshelf container. location ^~ /audiobookshelf { @@ -6,11 +6,10 @@ location ^~ /audiobookshelf { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/babybuddy.subdomain.conf.sample b/babybuddy.subdomain.conf.sample index 337c668..1e0c21e 100644 --- a/babybuddy.subdomain.conf.sample +++ b/babybuddy.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/05/10 +## Version 2022/09/08 # make sure that your dns has a cname set for babybuddy server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/bazarr.subdomain.conf.sample b/bazarr.subdomain.conf.sample index e621768..61dc9c7 100644 --- a/bazarr.subdomain.conf.sample +++ b/bazarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for bazarr and that your bazarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/bazarr.subfolder.conf.sample b/bazarr.subfolder.conf.sample index 764615a..3b65447 100644 --- a/bazarr.subfolder.conf.sample +++ b/bazarr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into bazarr settings, under "General" set the URL Base to /bazarr/ and restart the bazarr container location /bazarr { @@ -10,11 +10,10 @@ location ^~ /bazarr/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/beets.subdomain.conf.sample b/beets.subdomain.conf.sample index eebf704..80f953b 100644 --- a/beets.subdomain.conf.sample +++ b/beets.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 #First edit beets.yml and enable the reverse proxy settings, under "web" add "reverse_proxy: true" and restart the beets container. #Make sure that your dns has a cname set for beets and that your beets container is not using a base url @@ -12,10 +12,10 @@ server { client_max_body_size 0; - #enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/beets.subfolder.conf.sample b/beets.subfolder.conf.sample index b5cf2f3..fa47d93 100644 --- a/beets.subfolder.conf.sample +++ b/beets.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 #first edit beets.yml and enable the reverse proxy settings, under "web" add "reverse_proxy: true" and restart the beets container location /beets { @@ -6,11 +6,10 @@ location /beets { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/bitwarden.subdomain.conf.sample b/bitwarden.subdomain.conf.sample index 5824530..2499f59 100644 --- a/bitwarden.subdomain.conf.sample +++ b/bitwarden.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/02/08 +## Version 2022/09/08 # make sure that your dns has a cname set for bitwarden and that your bitwarden container is not using a base url # make sure your bitwarden container is named "bitwarden" # set the environment variable WEBSOCKET_ENABLED=true on your bitwarden container @@ -13,10 +13,10 @@ server { client_max_body_size 128M; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -45,11 +44,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/bitwarden.subfolder.conf.sample b/bitwarden.subfolder.conf.sample index 5ce9c21..4817457 100644 --- a/bitwarden.subfolder.conf.sample +++ b/bitwarden.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/02/08 +## Version 2022/09/08 ## Environmental Variable DOMAIN=https:///bitwarden must be set in bitwarden container including subfolder. ## This is using ports 80 and 3012 location /bitwarden { @@ -10,11 +10,10 @@ location ^~ /bitwarden/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -31,11 +30,10 @@ location ~ (/bitwarden)?/admin { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/boinc.subdomain.conf.sample b/boinc.subdomain.conf.sample index 08bc635..b97d195 100644 --- a/boinc.subdomain.conf.sample +++ b/boinc.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for boinc server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/boinc.subfolder.conf.sample b/boinc.subfolder.conf.sample index d177fd1..42d2be9 100644 --- a/boinc.subfolder.conf.sample +++ b/boinc.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/28 +## Version 2022/09/08 # In boinc docker arguments, set an env variable for SUBFOLDER=/boinc/ location /boinc { @@ -10,11 +10,10 @@ location ^~ /boinc/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/booksonic.subdomain.conf.sample b/booksonic.subdomain.conf.sample index c1a2308..11508e6 100644 --- a/booksonic.subdomain.conf.sample +++ b/booksonic.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for booksonic and that your booksonic container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/booksonic.subfolder.conf.sample b/booksonic.subfolder.conf.sample index 57596a2..156d6b8 100644 --- a/booksonic.subfolder.conf.sample +++ b/booksonic.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the CONTEXT_PATH variable to /booksonic in booksonic container. location ^~ /booksonic { @@ -6,11 +6,10 @@ location ^~ /booksonic { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/bookstack.subdomain.conf.sample b/bookstack.subdomain.conf.sample index 19514ef..e61cea5 100644 --- a/bookstack.subdomain.conf.sample +++ b/bookstack.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for bookstack and that your bookstack container is named bookstack # Ensure you have the APP_URL Environment Variable set correctly in your Docker Run/Compose or in BookStack Env File (/www/.env) # https://github.com/linuxserver/docker-bookstack#docker @@ -13,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/calibre-web.subdomain.conf.sample b/calibre-web.subdomain.conf.sample index fa2361e..bc7349d 100644 --- a/calibre-web.subdomain.conf.sample +++ b/calibre-web.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for calibre-web server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,15 +22,14 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia - # To use Authelia to log in to Calibre-Web, make sure "Reverse Proxy Login" is + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; + # To use Authelia to log in to Calibre-Web, make sure "Reverse Proxy Login" is # enabled, "Reverse Proxy Header Name" is set to Remote-User, and each Authelia # user also has a corresponding user manually created in Calibre-Web. - #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; @@ -41,10 +40,10 @@ server { proxy_set_header X-Scheme $scheme; } - + # OPDS feed for eBook reader apps # Even if you use Authelia, the OPDS feed requires a password to be set for - # the user directly in Calibre-Web, as eBook reader apps don't support + # the user directly in Calibre-Web, as eBook reader apps don't support # form-based logins, only HTTP Basic auth. location /opds/ { include /config/nginx/proxy.conf; diff --git a/calibre-web.subfolder.conf.sample b/calibre-web.subfolder.conf.sample index a9d007f..4e58abe 100644 --- a/calibre-web.subfolder.conf.sample +++ b/calibre-web.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # calibre-web does not require a base url setting location /calibre-web { @@ -10,15 +10,14 @@ location ^~ /calibre-web/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config - # To use Authelia to log in to Calibre-Web, make sure "Reverse Proxy Login" is + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; + # To use Authelia to log in to Calibre-Web, make sure "Reverse Proxy Login" is # enabled, "Reverse Proxy Header Name" is set to Remote-User, and each Authelia # user also has a corresponding user manually created in Calibre-Web. - #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; @@ -33,7 +32,7 @@ location ^~ /calibre-web/ { # OPDS feed for eBook reader apps # Even if you use Authelia, the OPDS feed requires a password to be set for -# the user directly in Calibre-Web, as eBook reader apps don't support +# the user directly in Calibre-Web, as eBook reader apps don't support # form-based logins, only HTTP Basic auth. location ^~ /calibre-web/opds/ { include /config/nginx/proxy.conf; diff --git a/calibre.subdomain.conf.sample b/calibre.subdomain.conf.sample index e17c0b9..6631479 100644 --- a/calibre.subdomain.conf.sample +++ b/calibre.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/03/29 +## Version 2022/09/08 # make sure that your dns has a cname set for calibre # for the content server, go into calibre preferences / sharing over the net / advanced and # set the first option for prefix url to '/content-server', save and restart the container @@ -14,10 +14,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,11 +25,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -51,11 +50,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/calibre.subfolder.conf.sample b/calibre.subfolder.conf.sample index 20095ce..3158274 100644 --- a/calibre.subfolder.conf.sample +++ b/calibre.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/03/29 +## Version 2022/09/08 # In calibre docker arguments, set an env variable for SUBFOLDER=/calibre/ # for the content server, go into calibre preferences / sharing over the net / advanced and # set the first option for prefix url to '/content-server', save and restart the container @@ -13,11 +13,10 @@ location ^~ /calibre/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -38,11 +37,10 @@ location ^~ /content-server/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/changedetection.subdomain.conf.sample b/changedetection.subdomain.conf.sample index 0f8fc82..9058f88 100644 --- a/changedetection.subdomain.conf.sample +++ b/changedetection.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/06/25 +## Version 2022/09/08 # make sure that your dns has a cname set for changedetection and that your changedetection container is named changedetection server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,6 +34,6 @@ server { set $upstream_port 5000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/chevereto.subdomain.conf.sample b/chevereto.subdomain.conf.sample index bd166e3..c162bc2 100644 --- a/chevereto.subdomain.conf.sample +++ b/chevereto.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/28 +## Version 2022/09/08 # make sure that your dns has a cname set for chevereto and that your chevereto container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/chronograf.subdomain.conf.sample b/chronograf.subdomain.conf.sample index bd40f8a..1d3e1c3 100644 --- a/chronograf.subdomain.conf.sample +++ b/chronograf.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that your dns has a cname set for chronograf and that your chronograf container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/chronograf.subfolder.conf.sample b/chronograf.subfolder.conf.sample index 9d59e83..63f57b2 100644 --- a/chronograf.subfolder.conf.sample +++ b/chronograf.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # add BASE_PATH=/chronograf environment variable to your docker compose/run location /chronograf { @@ -10,11 +10,10 @@ location ^~ /chronograf/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/cloudbeaver.subdomain.conf.sample b/cloudbeaver.subdomain.conf.sample index d30a844..89e8601 100644 --- a/cloudbeaver.subdomain.conf.sample +++ b/cloudbeaver.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/02/20 +## Version 2022/09/08 # make sure that your dns has a cname set for cloudbeaver and that your cloudbeaver container is not using a base url # tested using dbeaver/cloudbeaver @@ -14,10 +14,10 @@ server { proxy_redirect off; proxy_buffering off; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,11 +25,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -40,4 +39,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } -} \ No newline at end of file +} diff --git a/code-server.subdomain.conf.sample b/code-server.subdomain.conf.sample index 3cb52a0..93a75c1 100644 --- a/code-server.subdomain.conf.sample +++ b/code-server.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for code-server server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/codimd.subdomain.conf.sample b/codimd.subdomain.conf.sample index 6f10a87..94c2e96 100644 --- a/codimd.subdomain.conf.sample +++ b/codimd.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure you have added the following environmental variables to your run command/compose file # CMD_DOMAIN=codimd.server.com # CMD_PROTOCOL_USESSL=true @@ -13,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/collabora.subdomain.conf.sample b/collabora.subdomain.conf.sample index 1c903a2..3d830d3 100644 --- a/collabora.subdomain.conf.sample +++ b/collabora.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for collabora and that your collabora container is named collabora server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/commento.subdomain.conf.sample b/commento.subdomain.conf.sample index 2e61b8f..4521142 100644 --- a/commento.subdomain.conf.sample +++ b/commento.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/04/17 +## Version 2022/09/08 # make sure that your dns has a cname set for commento and that your commento config is not using a subdirectory. server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - #enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/couchpotato.subdomain.conf.sample b/couchpotato.subdomain.conf.sample index 302e79d..4ab200f 100644 --- a/couchpotato.subdomain.conf.sample +++ b/couchpotato.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for couchpotato and that your couchpotato container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/couchpotato.subfolder.conf.sample b/couchpotato.subfolder.conf.sample index 4882b96..62bb85f 100644 --- a/couchpotato.subfolder.conf.sample +++ b/couchpotato.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into couchpotato settings, under "General" set the URL Base to /couchpotato and restart the couchpotato container location ^~ /couchpotato { @@ -6,11 +6,10 @@ location ^~ /couchpotato { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/crontabui.subfolder.conf.sample b/crontabui.subfolder.conf.sample index b026018..ba22371 100644 --- a/crontabui.subfolder.conf.sample +++ b/crontabui.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/03/30 +## Version 2022/09/08 # crontabui does not require a base url setting location /crontabui { @@ -10,11 +10,10 @@ location ^~ /crontabui/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/crowdsec-dashboard.subdomain.conf.sample b/crowdsec-dashboard.subdomain.conf.sample index a90d8ca..3cc84f1 100644 --- a/crowdsec-dashboard.subdomain.conf.sample +++ b/crowdsec-dashboard.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/05/24 +## Version 2022/09/08 # make sure that your dns has a cname set for crowdsec-dashboard and that your crowdsec-dashboard container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,7 +34,7 @@ server { set $upstream_port 3000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + # Uncomment these if you want to lower security, and # allow running in an iFrame (i.e. Organizr) #proxy_hide_header Content-Security-Policy; diff --git a/dashy.subdomain.conf.sample b/dashy.subdomain.conf.sample index fb6b540..a4ffad8 100644 --- a/dashy.subdomain.conf.sample +++ b/dashy.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for dashy and that your dashy container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/deluge.subdomain.conf.sample b/deluge.subdomain.conf.sample index b629432..6491d14 100644 --- a/deluge.subdomain.conf.sample +++ b/deluge.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for deluge and that your deluge container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/deluge.subfolder.conf.sample b/deluge.subfolder.conf.sample index 7b29f23..9ed5e2e 100644 --- a/deluge.subfolder.conf.sample +++ b/deluge.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # deluge does not require a base url setting location /deluge { @@ -10,11 +10,10 @@ location ^~ /deluge/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/dillinger.subdomain.conf.sample b/dillinger.subdomain.conf.sample index fa39245..ce04a81 100644 --- a/dillinger.subdomain.conf.sample +++ b/dillinger.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for dillinger server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/documentserver.subdomain.conf.sample b/documentserver.subdomain.conf.sample index 2fc78df..ac81a8e 100644 --- a/documentserver.subdomain.conf.sample +++ b/documentserver.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that your dns has a cname set for onlyoffice named "documentserver" # Make sure that the onlyoffice documentserver container is named "documentserver" @@ -12,10 +12,10 @@ server { client_max_body_size 0; - #enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/dokuwiki.subdomain.conf.sample b/dokuwiki.subdomain.conf.sample index 18cf3c6..3a0995b 100644 --- a/dokuwiki.subdomain.conf.sample +++ b/dokuwiki.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # First complete the setup by appending install.php to URL. # Make sure that your dns has a cname set for dokuwiki @@ -12,10 +12,10 @@ server { client_max_body_size 0; - #enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/dokuwiki.subfolder.conf.sample b/dokuwiki.subfolder.conf.sample index f299a7e..e8cc6a3 100644 --- a/dokuwiki.subfolder.conf.sample +++ b/dokuwiki.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into dokuwiki settings (Admin on the top left when Logged in), under "Configuration Settings" set the "basedir" to /dokuwiki/ and restart the dokuwiki container location /dokuwiki { @@ -10,11 +10,10 @@ location ^~ /dokuwiki/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/domoticz.subdomain.conf.sample b/domoticz.subdomain.conf.sample index b4afc88..e37ff1f 100644 --- a/domoticz.subdomain.conf.sample +++ b/domoticz.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that your dns has a cname set for domoticz and that your domoticz container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/domoticz.subfolder.conf.sample b/domoticz.subfolder.conf.sample index 90c4665..81f1ee6 100644 --- a/domoticz.subfolder.conf.sample +++ b/domoticz.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the WEBROOT variable to domoticz for the domoticz container. location ^~ /domoticz/ { @@ -6,11 +6,10 @@ location ^~ /domoticz/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/dozzle.subdomain.conf.sample b/dozzle.subdomain.conf.sample index b2221c9..575e825 100644 --- a/dozzle.subdomain.conf.sample +++ b/dozzle.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for dozzle and that your dozzle container is named dozzle server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/dozzle.subfolder.conf.sample b/dozzle.subfolder.conf.sample index 2d07a28..2449c25 100644 --- a/dozzle.subfolder.conf.sample +++ b/dozzle.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # First either add "--base /dozzle" or "-e DOZZLE_BASE=/dozzle" to your docker run command, and restart the Dozzle container location /dozzle { @@ -10,11 +10,10 @@ location ^~ /dozzle/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/drone.subdomain.conf.sample b/drone.subdomain.conf.sample index b54aa68..e057267 100644 --- a/drone.subdomain.conf.sample +++ b/drone.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 server { listen 443 ssl; listen [::]:443 ssl; @@ -8,11 +8,11 @@ server { include /config/nginx/ssl.conf; client_max_body_size 0; - - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; - # enable for Authelia + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -20,13 +20,12 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; - + include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app drone; @@ -34,4 +33,4 @@ server { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; } -} \ No newline at end of file +} diff --git a/duplicati.subdomain.conf.sample b/duplicati.subdomain.conf.sample index b0607fc..8af8a78 100644 --- a/duplicati.subdomain.conf.sample +++ b/duplicati.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for duplicati and that your duplicati container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/duplicati.subfolder.conf.sample b/duplicati.subfolder.conf.sample index ca83963..77b592e 100644 --- a/duplicati.subfolder.conf.sample +++ b/duplicati.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # duplicati does not require a base url setting. DUPLICATI AUTH WILL NOT WORK WITH THIS CONFIG, use the auth options below location /duplicati { @@ -10,11 +10,10 @@ location ^~ /duplicati/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/embystat.subdomain.conf.sample b/embystat.subdomain.conf.sample index 363780a..7b78a99 100644 --- a/embystat.subdomain.conf.sample +++ b/embystat.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for embystat server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/emulatorjs.subdomain.conf.sample b/emulatorjs.subdomain.conf.sample index c80212e..32b3824 100644 --- a/emulatorjs.subdomain.conf.sample +++ b/emulatorjs.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/11/03 +## Version 2022/09/08 # make sure that your dns has a cname set for emulatorjs # In emulatorjs docker arguments, set an env variable for SUBFOLDER=/backend/ # The backend interface will be accessible at https://emulatorjs.yourdomain.com/backend/ @@ -13,11 +13,11 @@ server { include /config/nginx/ssl.conf; client_max_body_size 0; - - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; - # enable for Authelia + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,13 +25,12 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; - + include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app emulatorjs; @@ -49,13 +48,12 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; - + include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app emulatorjs; diff --git a/filebot.subdomain.conf.sample b/filebot.subdomain.conf.sample index 20b6d34..f8c0d08 100644 --- a/filebot.subdomain.conf.sample +++ b/filebot.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/30 +## Version 2022/09/08 # make sure that your dns has a cname set for filebot and that your filebot container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/filebot.subfolder.conf.sample b/filebot.subfolder.conf.sample index e75f6b6..aaa204d 100644 --- a/filebot.subfolder.conf.sample +++ b/filebot.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # filebot does not require a base url setting location /filebot { @@ -10,11 +10,10 @@ location ^~ /filebot/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/filebrowser.subdomain.conf.sample b/filebrowser.subdomain.conf.sample index 2ce2094..81c6dbe 100644 --- a/filebrowser.subdomain.conf.sample +++ b/filebrowser.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for filebrowser and that your filebrowser container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/filebrowser.subfolder.conf.sample b/filebrowser.subfolder.conf.sample index d13923d..64893e4 100644 --- a/filebrowser.subfolder.conf.sample +++ b/filebrowser.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set this environment variable on your filebrowser container FILEBROWSER_BASEURL=/filebrowser location /filebrowser { @@ -10,11 +10,10 @@ location ^~ /filebrowser/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/firefly.subdomain.conf.sample b/firefly.subdomain.conf.sample index feb855c..f06b2f5 100644 --- a/firefly.subdomain.conf.sample +++ b/firefly.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for firefly and that your firefly container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/firefox.subdomain.conf.sample b/firefox.subdomain.conf.sample index 109176f..3a9401e 100644 --- a/firefox.subdomain.conf.sample +++ b/firefox.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for firefox and that your firefox container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/flexget.subdomain.conf.sample b/flexget.subdomain.conf.sample index e667042..9c7b787 100644 --- a/flexget.subdomain.conf.sample +++ b/flexget.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for flexget server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,6 +34,6 @@ server { set $upstream_port 5050; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/flexget.subfolder.conf.sample b/flexget.subfolder.conf.sample index b5781c2..87ff4a0 100644 --- a/flexget.subfolder.conf.sample +++ b/flexget.subfolder.conf.sample @@ -1,6 +1,6 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure to set 'base_url: /flexget' under your flexget's config.yml web_server block -# +# location /flexget { return 301 $scheme://$host/flexget/; } @@ -10,11 +10,10 @@ location /flexget { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -22,9 +21,9 @@ location /flexget { set $upstream_app flexget; set $upstream_port 5050; set $upstream_proto http; - proxy_pass $upstream_proto://$upstream_app:$upstream_port; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - + location ^~ /flexget/api/ { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; diff --git a/flood.subdomain.conf.sample b/flood.subdomain.conf.sample index c73bc12..fd5f52e 100644 --- a/flood.subdomain.conf.sample +++ b/flood.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for flood and that your flood container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/flood.subfolder.conf.sample b/flood.subfolder.conf.sample index fe730fe..ec1415e 100644 --- a/flood.subfolder.conf.sample +++ b/flood.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # flood does not require a base url setting location /flood { @@ -10,11 +10,10 @@ location ^~ /flood/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/foldingathome.subdomain.conf.sample b/foldingathome.subdomain.conf.sample index 9e77a83..aff5b09 100644 --- a/foldingathome.subdomain.conf.sample +++ b/foldingathome.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for foldingathome server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/foundryvtt.subdomain.conf.sample b/foundryvtt.subdomain.conf.sample index 6999fec..af61d2a 100644 --- a/foundryvtt.subdomain.conf.sample +++ b/foundryvtt.subdomain.conf.sample @@ -1,6 +1,6 @@ -## Version 2021/06/05 -# make sure that your dns has a cname set for foundryvtt -# Ensure that your Foundry VTT's {userData}/Config/options.json file is configured as follows: +## Version 2022/09/08 +# make sure that your dns has a cname set for foundryvtt +# Ensure that your Foundry VTT's {userData}/Config/options.json file is configured as follows: # "hostname": "your.hostname.com", # "routePrefix": null, # "sslCert": null, @@ -20,10 +20,10 @@ server { client_max_body_size 300M; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -31,11 +31,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -44,6 +43,6 @@ server { set $upstream_port 30000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/freshrss.subdomain.conf.sample b/freshrss.subdomain.conf.sample index 5749ebe..34a61eb 100644 --- a/freshrss.subdomain.conf.sample +++ b/freshrss.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/08 +## Version 2022/09/08 # make sure that your dns has a cname set for freshrss server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/freshrss.subfolder.conf.sample b/freshrss.subfolder.conf.sample index 8dc283d..91adef9 100644 --- a/freshrss.subfolder.conf.sample +++ b/freshrss.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/08 +## Version 2022/09/08 # freshrss does not have a base url setting location /freshrss { @@ -10,11 +10,10 @@ location ^~ /freshrss/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/gaps.subdomain.conf.sample b/gaps.subdomain.conf.sample index a830849..7ef603b 100644 --- a/gaps.subdomain.conf.sample +++ b/gaps.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/10/20 +## Version 2022/09/08 # make sure that your dns has a cname set for gaps and that your gaps container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/gaps.subfolder.conf.sample b/gaps.subfolder.conf.sample index 4f2011a..ec81bf9 100644 --- a/gaps.subfolder.conf.sample +++ b/gaps.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/04/08 +## Version 2022/09/08 # In your Docker compose (or docker run) add: BASE_URL: /gaps location /gaps { @@ -10,11 +10,10 @@ location ^~ /gaps/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/get_iplayer.subdomain.conf.sample b/get_iplayer.subdomain.conf.sample index 61adc89..d3e698f 100644 --- a/get_iplayer.subdomain.conf.sample +++ b/get_iplayer.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/06/25 +## Version 2022/09/08 # make sure that your dns has a cname set for get_iplayer and that your get_iplayer container is named get_iplayer server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/ghost.subdomain.conf.sample b/ghost.subdomain.conf.sample index ad96072..4c9c1b7 100644 --- a/ghost.subdomain.conf.sample +++ b/ghost.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/08 +## Version 2022/09/08 # make sure that your dns has a cname set for ghost and that your ghost config is not using a subdirectory. server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - #enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/ghost.subfolder.conf.sample b/ghost.subfolder.conf.sample index 242a1e0..482a590 100644 --- a/ghost.subfolder.conf.sample +++ b/ghost.subfolder.conf.sample @@ -1,24 +1,23 @@ -## Version 2021/07/08 +## Version 2022/09/08 # Make sure you are using a subfolder in your ghost config file. https://ghost.org/docs/concepts/config/#url # Note: /ghost/ is by default used for the admin page. See https://ghost.org/docs/concepts/config/#admin-url location /blog { - # enable the next two lines for http auth - #uth_basic "Restricted"; - #auth_basic_user_file /config/nginx/.htpasswd; + # enable the next two lines for http auth + #uth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config - #include /config/nginx/authelia-location.conf; + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; - include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf; - set $upstream_app ghost; - set $upstream_port 2368; - set $upstream_proto http; - proxy_pass $upstream_proto://$upstream_app:$upstream_port; + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app ghost; + set $upstream_port 2368; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; } diff --git a/gitea.subdomain.conf.sample b/gitea.subdomain.conf.sample index e10e581..d9d33d4 100644 --- a/gitea.subdomain.conf.sample +++ b/gitea.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for gitea and the following parameters in /data/gitea/conf/app.ini are edited # [server] # SSH_DOMAIN = gitea.server.com @@ -15,10 +15,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -26,11 +26,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/glances.subdomain.conf.sample b/glances.subdomain.conf.sample index 21c744e..a6c63a8 100644 --- a/glances.subdomain.conf.sample +++ b/glances.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for glances and that your glances container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/glances.subfolder.conf.sample b/glances.subfolder.conf.sample index e50127c..80a2f9d 100644 --- a/glances.subfolder.conf.sample +++ b/glances.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # glances does not require a base url setting location /glances { @@ -10,11 +10,10 @@ location ^~ /glances/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/gotify.subdomain.conf.sample b/gotify.subdomain.conf.sample index d86e0d1..e391511 100644 --- a/gotify.subdomain.conf.sample +++ b/gotify.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for gotify server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/gotify.subfolder.conf.sample b/gotify.subfolder.conf.sample index 453a0c0..5d8118e 100644 --- a/gotify.subfolder.conf.sample +++ b/gotify.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # gotify doesn't require a base url location /gotify { @@ -10,11 +10,10 @@ location /gotify/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /login; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/grafana.subdomain.conf.sample b/grafana.subdomain.conf.sample index 45a7738..0db34f2 100644 --- a/grafana.subdomain.conf.sample +++ b/grafana.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for grafana and that your grafana container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,9 +34,9 @@ server { set $upstream_port 3000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + # Clear Authorization Header if you are using http auth and normal Grafana auth - #proxy_set_header Authorization ""; + #proxy_set_header Authorization ""; } } diff --git a/grafana.subfolder.conf.sample b/grafana.subfolder.conf.sample index 6f0eb4a..f283e11 100644 --- a/grafana.subfolder.conf.sample +++ b/grafana.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # grafana requires environment variables set thus: # environment: # - "GF_SERVER_ROOT_URL=https://my.domain.com/grafana" @@ -9,11 +9,10 @@ location ^~ /grafana/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -22,10 +21,10 @@ location ^~ /grafana/ { set $upstream_port 3000; set $upstream_proto http; proxy_pass http://$upstream_grafana:$upstream_port ; - + # Clear Authorization Header if you are using http auth and normal Grafana auth #proxy_set_header Authorization ""; - + rewrite ^/grafana/(.*)$ /$1 break; } diff --git a/grocy.subdomain.conf.sample b/grocy.subdomain.conf.sample index 239f10c..3464be0 100644 --- a/grocy.subdomain.conf.sample +++ b/grocy.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for grocy server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,7 +36,7 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - + location /api { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; diff --git a/guacamole.subdomain.conf.sample b/guacamole.subdomain.conf.sample index 658b3ed..bb71761 100644 --- a/guacamole.subdomain.conf.sample +++ b/guacamole.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for guacamole and that your guacamole container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/guacamole.subfolder.conf.sample b/guacamole.subfolder.conf.sample index 54a5b00..2b139e7 100644 --- a/guacamole.subfolder.conf.sample +++ b/guacamole.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # guacamole does not require a base url setting location /guacamole { @@ -10,11 +10,10 @@ location ^~ /guacamole/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/hass-configurator.subdomain.conf.sample b/hass-configurator.subdomain.conf.sample index c8ac300..e0afbad 100644 --- a/hass-configurator.subdomain.conf.sample +++ b/hass-configurator.subdomain.conf.sample @@ -1,9 +1,8 @@ -## Version 2021/06/02 +## Version 2022/09/08 # make sure that your dns has a cname set for hass configurator -# this proxy configuration file is for the hass-configurator-docker container that is used +# this proxy configuration file is for the hass-configurator-docker container that is used # in the hassos addon store (https://github.com/CausticLab/hass-configurator-docker) - server { listen 443 ssl; listen [::]:443 ssl; @@ -14,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,15 +24,14 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf + include /config/nginx/resolver.conf; set $upstream_app hass-configurator; set $upstream_port 3218; set $upstream_proto http; diff --git a/headphones.subdomain.conf.sample b/headphones.subdomain.conf.sample index 0d0149b..8ed6405 100644 --- a/headphones.subdomain.conf.sample +++ b/headphones.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for headphones server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/headphones.subfolder.conf.sample b/headphones.subfolder.conf.sample index c5b8d5f..ab6ecc5 100644 --- a/headphones.subfolder.conf.sample +++ b/headphones.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first stop the headphones container and edit the config.ini for headphones and set http_root to /headphones and then start the headphones container location ^~ /headphones { @@ -6,11 +6,10 @@ location ^~ /headphones { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/healthchecks.subdomain.conf.sample b/healthchecks.subdomain.conf.sample index ae41ea9..31e389f 100644 --- a/healthchecks.subdomain.conf.sample +++ b/healthchecks.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/11/14 +## Version 2022/09/08 # make sure that your dns has a cname set for and that your container is not using a base url # make sure your Healthchecks ALLOWED_HOSTS and SITE_ROOT align with the server_name used in this conf. @@ -12,10 +12,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/hedgedoc.subdomain.conf.sample b/hedgedoc.subdomain.conf.sample index 4205670..a3da7de 100644 --- a/hedgedoc.subdomain.conf.sample +++ b/hedgedoc.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/12/09 +## Version 2022/09/08 # make sure you set the following environment variables in your docker arguments # CMD_DOMAIN=hedgedoc.server.com # CMD_URL_ADDPORT=false @@ -14,10 +14,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,11 +25,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/heimdall.subdomain.conf.sample b/heimdall.subdomain.conf.sample index f40f1cc..1e94ffb 100644 --- a/heimdall.subdomain.conf.sample +++ b/heimdall.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for heimdall server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/heimdall.subfolder.conf.sample b/heimdall.subfolder.conf.sample index 0cd0e48..c4e1120 100644 --- a/heimdall.subfolder.conf.sample +++ b/heimdall.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # In order to use this location block you need to edit the default file one folder up and comment out the / location location / { @@ -6,11 +6,10 @@ location / { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/homeassistant.subdomain.conf.sample b/homeassistant.subdomain.conf.sample index 6bfe3b3..08abac2 100644 --- a/homeassistant.subdomain.conf.sample +++ b/homeassistant.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/10/11 +## Version 2022/09/08 # make sure that your dns has a cname set for homeassistant and that your homeassistant container is not using a base url # As of homeassistant 2021.7.0, it is now required to define the network range your proxy resides in, this is done in Homeassitants configuration.yaml @@ -20,10 +20,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -31,11 +31,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/homebridge.subdomain.conf.sample b/homebridge.subdomain.conf.sample index f1991ca..13b5531 100644 --- a/homebridge.subdomain.conf.sample +++ b/homebridge.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for homebridge and that your homebridge container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/homer.subdomain.conf.sample b/homer.subdomain.conf.sample index 40020ea..cb078d1 100644 --- a/homer.subdomain.conf.sample +++ b/homer.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for homer and that your homer container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/huginn.subdomain.conf.sample b/huginn.subdomain.conf.sample index bb5b88a..698658b 100644 --- a/huginn.subdomain.conf.sample +++ b/huginn.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for huginn server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/influxdb.subdomain.conf.sample b/influxdb.subdomain.conf.sample index ddb3926..9154830 100644 --- a/influxdb.subdomain.conf.sample +++ b/influxdb.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/20 +## Version 2022/09/08 # make sure that your dns has a cname set for influxdb and that your influxdb container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/jackett.subdomain.conf.sample b/jackett.subdomain.conf.sample index 58536ec..b021b4f 100644 --- a/jackett.subdomain.conf.sample +++ b/jackett.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for jackett and that your jackett container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/jackett.subfolder.conf.sample b/jackett.subfolder.conf.sample index 1a6529e..ada717e 100644 --- a/jackett.subfolder.conf.sample +++ b/jackett.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into jackett settings, set the URL Base to /jackett and restart the jackett container location ^~ /jackett { @@ -6,11 +6,10 @@ location ^~ /jackett { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/jdownloader.subdomain.conf.sample b/jdownloader.subdomain.conf.sample index 3dddca3..21eaad6 100644 --- a/jdownloader.subdomain.conf.sample +++ b/jdownloader.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/30 +## Version 2022/09/08 # make sure that your dns has a cname set for jdownloader and that your jdownloader container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/jellyseerr.subdomain.conf.sample b/jellyseerr.subdomain.conf.sample index 431be31..c708e10 100644 --- a/jellyseerr.subdomain.conf.sample +++ b/jellyseerr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/06/25 +## Version 2022/09/08 # make sure that your dns has a cname set for jellyseerr and that your jellyseerr container is named jellyseerr server { @@ -10,11 +10,11 @@ server { include /config/nginx/ssl.conf; client_max_body_size 0; - - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; - # enable for Authelia + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,19 +22,18 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; - + include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app jellyseerr; set $upstream_port 5055; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/jenkins.subfolder.conf.sample b/jenkins.subfolder.conf.sample index b26f4f4..357346a 100644 --- a/jenkins.subfolder.conf.sample +++ b/jenkins.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # First either add '--prefix=/jenkins' or '-e JENKINS_OPTS="--prefix=/jenkins"' to your docker run command, and restart the Jenkins container. # Also be sure to add '/jenkins/' to your URL under: Jenkins > Configuration > Manage Jenkins > Jenkins URL @@ -11,11 +11,10 @@ location ^~ /jenkins/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/kanzi.subdomain.conf.sample b/kanzi.subdomain.conf.sample index 282ebc8..a883b97 100644 --- a/kanzi.subdomain.conf.sample +++ b/kanzi.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for kanzi server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/kanzi.subfolder.conf.sample b/kanzi.subfolder.conf.sample index f8ab1d0..6cd1a67 100644 --- a/kanzi.subfolder.conf.sample +++ b/kanzi.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # kanzi does not have a base url setting location /kanzi { @@ -10,11 +10,10 @@ location ^~ /kanzi/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/komga.subdomain.conf.sample b/komga.subdomain.conf.sample index a47cdd9..f1b11cf 100644 --- a/komga.subdomain.conf.sample +++ b/komga.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for komga and that your komga container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/komga.subfolder.conf.sample b/komga.subfolder.conf.sample index b089798..5e58c16 100644 --- a/komga.subfolder.conf.sample +++ b/komga.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/06 +## Version 2022/09/08 # First make sure your Container has set an Baseurl set via docker-compose File "envirnoment: SERVER_SERVLET_CONTEXT_PATH=/komga" and recreate the container. location /komga { @@ -10,11 +10,10 @@ location ^~ /komga/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/lazylibrarian.subdomain.conf.sample b/lazylibrarian.subdomain.conf.sample index 172aa9e..426afc7 100644 --- a/lazylibrarian.subdomain.conf.sample +++ b/lazylibrarian.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for lazylibrarian server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/lazylibrarian.subfolder.conf.sample b/lazylibrarian.subfolder.conf.sample index c3a8d97..0d23341 100644 --- a/lazylibrarian.subfolder.conf.sample +++ b/lazylibrarian.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into lazylibrarian settings, under "Interface" set the URL Base to /lazylibrarian and restart the lazylibrarian container location ^~ /lazylibrarian { @@ -6,11 +6,10 @@ location ^~ /lazylibrarian { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/librespeed.subdomain.conf.sample b/librespeed.subdomain.conf.sample index 9a925b5..27c4301 100644 --- a/librespeed.subdomain.conf.sample +++ b/librespeed.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for librespeed server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/lidarr.subdomain.conf.sample b/lidarr.subdomain.conf.sample index 3584793..0e5e96b 100644 --- a/lidarr.subdomain.conf.sample +++ b/lidarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for lidarr and that your lidarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/lidarr.subfolder.conf.sample b/lidarr.subfolder.conf.sample index e8c3c6f..9868d21 100644 --- a/lidarr.subfolder.conf.sample +++ b/lidarr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into lidarr settings, under "General" set the URL Base to /lidarr and restart the lidarr container location ^~ /lidarr { @@ -6,11 +6,10 @@ location ^~ /lidarr { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/lychee.subdomain.conf.sample b/lychee.subdomain.conf.sample index 8a7abe1..e4955ab 100644 --- a/lychee.subdomain.conf.sample +++ b/lychee.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for lychee server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/lychee.subfolder.conf.sample b/lychee.subfolder.conf.sample index b870753..2d77c62 100644 --- a/lychee.subfolder.conf.sample +++ b/lychee.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/10/29 +## Version 2022/09/08 # lychee does not require a base url setting location /lychee { @@ -10,11 +10,10 @@ location /lychee/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/mailu.subdomain.conf.sample b/mailu.subdomain.conf.sample index 100d348..49aa84a 100644 --- a/mailu.subdomain.conf.sample +++ b/mailu.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for mailu and that your mailu front container is named front server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/mailu.subfolder.conf.sample b/mailu.subfolder.conf.sample index a282881..2f96d1d 100644 --- a/mailu.subfolder.conf.sample +++ b/mailu.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # mailu does not require a base url setting, but the container needs to be named front # This config have been tested with "TLS_FLAVOR=mail" @@ -13,11 +13,10 @@ location ^~ /admin/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -38,11 +37,10 @@ location ^~ /webmail/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/matomo.subdomain.conf.sample b/matomo.subdomain.conf.sample index a88d89e..57280ab 100644 --- a/matomo.subdomain.conf.sample +++ b/matomo.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for matomo and that your matomo container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/mealie.subdomain.conf.sample b/mealie.subdomain.conf.sample index ba8b6e2..5c2a06d 100644 --- a/mealie.subdomain.conf.sample +++ b/mealie.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/21 +## Version 2022/09/08 # Ensure your DNS has a CNAME set for mealie and that mealie container is not using a base URL. server { @@ -11,7 +11,22 @@ server { client_max_body_size 0; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) + #include /config/nginx/authelia-server.conf; + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; + + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; @@ -21,6 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - - } diff --git a/medusa.subdomain.conf.sample b/medusa.subdomain.conf.sample index 8eb4600..474628b 100644 --- a/medusa.subdomain.conf.sample +++ b/medusa.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for medusa server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/medusa.subfolder.conf.sample b/medusa.subfolder.conf.sample index 15fbcef..dcfdc08 100644 --- a/medusa.subfolder.conf.sample +++ b/medusa.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into medusa settings, under "Interface" set the URL Base to /medusa and restart the medusa container location ^~ /medusa { @@ -6,11 +6,10 @@ location ^~ /medusa { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/metube.subdomain.conf.sample b/metube.subdomain.conf.sample index e29def8..2e57329 100644 --- a/metube.subdomain.conf.sample +++ b/metube.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for metube server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,4 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } -} \ No newline at end of file +} diff --git a/metube.subfolder.conf.sample b/metube.subfolder.conf.sample index 1e25570..83c6da8 100644 --- a/metube.subfolder.conf.sample +++ b/metube.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the URL_PREFIX environment variable for the metube container to "/metube" location /metube { @@ -6,11 +6,10 @@ location /metube { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/miniflux.subdomain.conf.sample b/miniflux.subdomain.conf.sample index 21402f5..7ba66a3 100644 --- a/miniflux.subdomain.conf.sample +++ b/miniflux.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for miniflux server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/miniflux.subfolder.conf.sample b/miniflux.subfolder.conf.sample index dcdd519..c8af8e2 100644 --- a/miniflux.subfolder.conf.sample +++ b/miniflux.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the environment variable "BASE_URL" to "https://yourdomain.url/miniflux/", or follow this guide to create a config file for Miniflux: https://miniflux.app/docs/configuration.html location /miniflux { @@ -10,11 +10,10 @@ location /miniflux/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/monica.subdomain.conf.sample b/monica.subdomain.conf.sample index 46d6044..df686b0 100644 --- a/monica.subdomain.conf.sample +++ b/monica.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/04/27 +## Version 2022/09/08 # make sure that your dns has a cname set for monica. server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/monica.subfolder.conf.sample b/monica.subfolder.conf.sample index 53ebc5e..3289a8d 100644 --- a/monica.subfolder.conf.sample +++ b/monica.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Set the monica Docker container's APP_URL to a fully-qualified domain that ends with /monica/ and restart the container. # Example: https://yourhost.cc/monica/ @@ -11,11 +11,10 @@ location ^~ /monica/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/monitorr.subdomain.conf.sample b/monitorr.subdomain.conf.sample index e3f4098..be01c28 100644 --- a/monitorr.subdomain.conf.sample +++ b/monitorr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for monitorr server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/monitorr.subfolder.conf.sample b/monitorr.subfolder.conf.sample index 322f9b3..26820c0 100644 --- a/monitorr.subfolder.conf.sample +++ b/monitorr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # monitorr does not require a base url setting location /monitorr { @@ -10,11 +10,10 @@ location ^~ /monitorr/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/mstream.subdomain.conf.sample b/mstream.subdomain.conf.sample index 3959f1a..832cc46 100644 --- a/mstream.subdomain.conf.sample +++ b/mstream.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for mstream and your container name is mstream and running using http (default) server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/mylar.subdomain.conf.sample b/mylar.subdomain.conf.sample index 2d590a0..28bc61c 100644 --- a/mylar.subdomain.conf.sample +++ b/mylar.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for mylar server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/mylar.subfolder.conf.sample b/mylar.subfolder.conf.sample index ef61020..8e92e8a 100644 --- a/mylar.subfolder.conf.sample +++ b/mylar.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first stop the mylar container and edit the config.ini for mylar and set http_root to /mylar and then start the mylar container location ^~ /mylar { @@ -6,11 +6,10 @@ location ^~ /mylar { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/mytinytodo.subfolder.conf.sample b/mytinytodo.subfolder.conf.sample index eafdadb..1c7a1fa 100644 --- a/mytinytodo.subfolder.conf.sample +++ b/mytinytodo.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # works with https://github.com/breakall/mytinytodo-docker # set the mtt_url to 'https://your.domain.com/todo/' in db/config.php @@ -12,11 +12,10 @@ location ^~ /todo/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/n8n.subdomain.conf.sample b/n8n.subdomain.conf.sample index e7ff2e7..d1327f4 100644 --- a/n8n.subdomain.conf.sample +++ b/n8n.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for n8n and that your n8n container is not using a base url # add `server.use-forward-headers=true` to `/config/application.properties` to ensure logs contain real source IP @@ -12,10 +12,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/navidrome.subdomain.conf.sample b/navidrome.subdomain.conf.sample index 761213f..4acd387 100644 --- a/navidrome.subdomain.conf.sample +++ b/navidrome.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for navidrome and that your navidrome container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/netboot.subdomain.conf.sample b/netboot.subdomain.conf.sample index 8323aef..6593725 100644 --- a/netboot.subdomain.conf.sample +++ b/netboot.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for netboot server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/netdata.subdomain.conf.sample b/netdata.subdomain.conf.sample index 02bbb3e..e1f5186 100644 --- a/netdata.subdomain.conf.sample +++ b/netdata.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for netdata server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/netdata.subfolder.conf.sample b/netdata.subfolder.conf.sample index 9cb78bd..7adcdba 100644 --- a/netdata.subfolder.conf.sample +++ b/netdata.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # netdata does not require a base url setting location /netdata { @@ -10,11 +10,10 @@ location ^~ /netdata/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/nzbget.subdomain.conf.sample b/nzbget.subdomain.conf.sample index 9a5ebc4..0676d51 100644 --- a/nzbget.subdomain.conf.sample +++ b/nzbget.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for nzbget server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/nzbget.subfolder.conf.sample b/nzbget.subfolder.conf.sample index fc2e138..5134ef1 100644 --- a/nzbget.subfolder.conf.sample +++ b/nzbget.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # nzbget does not require a base url setting location /nzbget { @@ -6,11 +6,10 @@ location /nzbget { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/nzbhydra.subdomain.conf.sample b/nzbhydra.subdomain.conf.sample index 4041f64..6d232ed 100644 --- a/nzbhydra.subdomain.conf.sample +++ b/nzbhydra.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for nzbhydra and that your nzbhydra container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/nzbhydra.subfolder.conf.sample b/nzbhydra.subfolder.conf.sample index c8d099d..bdcdc05 100644 --- a/nzbhydra.subfolder.conf.sample +++ b/nzbhydra.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into nzbhydra settings, set the URL Base to /nzbhydra, then disable CSRF protection on the same page and restart the nzbhydra container location ^~ /nzbhydra { @@ -6,11 +6,10 @@ location ^~ /nzbhydra { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/octoprint.subdomain.conf.sample b/octoprint.subdomain.conf.sample index a8af85e..77fd0f3 100644 --- a/octoprint.subdomain.conf.sample +++ b/octoprint.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/09/05 +## Version 2022/09/08 # make sure that your dns has a cname set for octoprint and that your octoprint container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -38,5 +37,4 @@ server { proxy_set_header X-Scheme https; } - } diff --git a/ombi.subdomain.conf.sample b/ombi.subdomain.conf.sample index 5f85615..e0d598c 100644 --- a/ombi.subdomain.conf.sample +++ b/ombi.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for ombi and that your ombi container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/ombi.subfolder.conf.sample b/ombi.subfolder.conf.sample index fa6ad9f..d0e5482 100644 --- a/ombi.subfolder.conf.sample +++ b/ombi.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into ombi settings, under the menu "Ombi" set the base url to /ombi and restart the ombi container location /ombi { @@ -10,11 +10,10 @@ location ^~ /ombi/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/openhab.subdomain.conf.sample b/openhab.subdomain.conf.sample index 0841701..cc0a1c9 100644 --- a/openhab.subdomain.conf.sample +++ b/openhab.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for openhab and that your openhab container is named openhab server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /login; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/openvpn-as.subdomain.conf.sample b/openvpn-as.subdomain.conf.sample index c6478cf..c42b2e4 100644 --- a/openvpn-as.subdomain.conf.sample +++ b/openvpn-as.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for openvpn-as and that your openvpn-as container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -43,11 +42,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/openvscode-server.subdomain.conf.sample b/openvscode-server.subdomain.conf.sample index bd6c02f..dd575dc 100644 --- a/openvscode-server.subdomain.conf.sample +++ b/openvscode-server.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/11/29 +## Version 2022/09/08 # make sure that your dns has a cname set for openvscode-server server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -49,10 +48,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -60,11 +59,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/organizr.subdomain.conf.sample b/organizr.subdomain.conf.sample index a9e95cc..8f60ed1 100644 --- a/organizr.subdomain.conf.sample +++ b/organizr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for organizr server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/organizr.subfolder.conf.sample b/organizr.subfolder.conf.sample index 9a384b5..fece123 100644 --- a/organizr.subfolder.conf.sample +++ b/organizr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # In order to use this location block you need to edit the default file one folder up and comment out the / and ~ \.php$ locations location / { @@ -6,11 +6,10 @@ location / { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/osticket.subdomain.conf.sample b/osticket.subdomain.conf.sample index 3d8dfd5..e5ba0cc 100644 --- a/osticket.subdomain.conf.sample +++ b/osticket.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for osticket and that your osticket container is named osticket. server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/overseerr.subdomain.conf.sample b/overseerr.subdomain.conf.sample index 7d4cb04..f47d168 100644 --- a/overseerr.subdomain.conf.sample +++ b/overseerr.subdomain.conf.sample @@ -1,5 +1,5 @@ -## Version 2021/05/18 -# Ensure your DNS has a CNAME set for Overseerr and that Overseerr container is not using a base URL. +## Version 2022/09/08 +# make sure that your dns has a cname set for overseerr and that your overseerr container is not using a base url server { listen 443 ssl; @@ -11,7 +11,22 @@ server { client_max_body_size 0; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; + + # enable for Authelia (requires authelia-location.conf in the location block) + #include /config/nginx/authelia-server.conf; + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; + + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; @@ -21,6 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - - } diff --git a/papermerge.subdomain.conf.sample b/papermerge.subdomain.conf.sample index e407685..9d36808 100644 --- a/papermerge.subdomain.conf.sample +++ b/papermerge.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/01 +## Version 2022/09/08 # make sure that your dns has a cname set for papermerge server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,6 +34,6 @@ server { set $upstream_port 8000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/petio.subdomain.conf.sample b/petio.subdomain.conf.sample index d5a9108..a05f0ea 100644 --- a/petio.subdomain.conf.sample +++ b/petio.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/01 +## Version 2022/09/08 # make sure that your dns has a cname set for petio and that your petio container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/petio.subfolder.conf.sample b/petio.subfolder.conf.sample index 9524ab3..3f470bc 100644 --- a/petio.subfolder.conf.sample +++ b/petio.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/04/23 +## Version 2022/09/08 # first go into petio settings, under "Base path" set the URL Base to /petio and restart the petio container location /petio { @@ -10,11 +10,10 @@ location ^~ /petio/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pgadmin.subdomain.conf.sample b/pgadmin.subdomain.conf.sample index 75510b9..50345d2 100644 --- a/pgadmin.subdomain.conf.sample +++ b/pgadmin.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/04/18 +## Version 2022/09/08 # make sure that your dns has a cname set for pgadmin and that your pgadmin container is not using a base url server { @@ -11,28 +11,31 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + #enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; - # enable for Authelia - #include /config/nginx/authelia-location.conf; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - include /config/nginx/proxy.conf; - include /config/nginx/resolver.conf; - set $upstream_app pgadmin; - set $upstream_port 80; - set $upstream_proto http; - proxy_pass $upstream_proto://$upstream_app:$upstream_port; + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; - # Uncomment to allow loading in an iframe (i.e. Organizr) - #proxy_hide_header X-Frame-Options; + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app pgadmin; + set $upstream_port 80; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + # Uncomment to allow loading in an iframe (i.e. Organizr) + #proxy_hide_header X-Frame-Options; } } diff --git a/photoprism.subdomain.conf.sample b/photoprism.subdomain.conf.sample index 90776b8..17127f9 100644 --- a/photoprism.subdomain.conf.sample +++ b/photoprism.subdomain.conf.sample @@ -1,5 +1,5 @@ -## Version 2021/05/18 -# Ensure your DNS has a CNAME set for Photoprism and that Photoprism container is not using a base URL. +## Version 2022/09/08 +# Ensure your DNS has a CNAME set for Photoprism and that Photoprism container is not using a base URL. server { listen 443 ssl; @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,6 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - - } diff --git a/phpmyadmin.subdomain.conf.sample b/phpmyadmin.subdomain.conf.sample index 02a9795..bd9533a 100644 --- a/phpmyadmin.subdomain.conf.sample +++ b/phpmyadmin.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for phpmyadmin and that your phpmyadmin container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/phpmyadmin.subfolder.conf.sample b/phpmyadmin.subfolder.conf.sample index 141b397..3c48d20 100644 --- a/phpmyadmin.subfolder.conf.sample +++ b/phpmyadmin.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # phpmyadmin does not require a base url setting location /phpmyadmin { @@ -10,11 +10,10 @@ location ^~ /phpmyadmin/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/picard.subfolder.conf.sample b/picard.subfolder.conf.sample index 753cf18..ec6ba79 100644 --- a/picard.subfolder.conf.sample +++ b/picard.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # picard does not require a base url setting location /picard { @@ -10,11 +10,10 @@ location ^~ /picard/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pihole.subdomain.conf.sample b/pihole.subdomain.conf.sample index f112298..a586dd4 100644 --- a/pihole.subdomain.conf.sample +++ b/pihole.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for pihole and that your pihole container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -44,11 +43,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pihole.subfolder.conf.sample b/pihole.subfolder.conf.sample index ad4ca49..dbd156d 100644 --- a/pihole.subfolder.conf.sample +++ b/pihole.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # pihole does not require a base url setting location /pihole { @@ -10,11 +10,10 @@ location ^~ /pihole/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,11 +36,10 @@ location ^~ /pihole/admin/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pinry.subdomain.conf.sample b/pinry.subdomain.conf.sample index 8574c07..453511f 100644 --- a/pinry.subdomain.conf.sample +++ b/pinry.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/06/25 +## Version 2022/09/08 # make sure that your dns has a cname set for pinry and that your pinry container is named pinry server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,6 +34,6 @@ server { set $upstream_port 80; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/piwigo.subdomain.conf.sample b/piwigo.subdomain.conf.sample index e9100d6..a5a088a 100644 --- a/piwigo.subdomain.conf.sample +++ b/piwigo.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for piwigo server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pixelfed.subdomain.conf.sample b/pixelfed.subdomain.conf.sample index 6d75ce1..46150c6 100644 --- a/pixelfed.subdomain.conf.sample +++ b/pixelfed.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for pixelfed and the container is named pixelfed server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/plex.subdomain.conf.sample b/plex.subdomain.conf.sample index b9ea48d..abc304f 100644 --- a/plex.subdomain.conf.sample +++ b/plex.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for plex # if plex is running in bridge mode and the container is named "plex", the below config should work as is # if not, replace the line "set $upstream_app plex;" with "set $upstream_app ;" @@ -17,21 +17,20 @@ server { proxy_redirect off; proxy_buffering off; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/plex.subfolder.conf.sample b/plex.subfolder.conf.sample index 667ee65..b8bb526 100644 --- a/plex.subfolder.conf.sample +++ b/plex.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 #******** This config no longer works as intended. The web app loads, but no direct connection to server is made. ********* #******** PRs welcome for anyone who figures out how to fix it. Use the subdomain config in the meantime. ******* @@ -16,11 +16,10 @@ location ^~ /plex/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/plexwebtools.subdomain.conf.sample b/plexwebtools.subdomain.conf.sample index 7cdc534..c38d199 100644 --- a/plexwebtools.subdomain.conf.sample +++ b/plexwebtools.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for plexwebtools and that your plexwebtools container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/plexwebtools.subfolder.conf.sample b/plexwebtools.subfolder.conf.sample index 8f671e6..65cf8e3 100644 --- a/plexwebtools.subfolder.conf.sample +++ b/plexwebtools.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into plexwebtools settings, set the URL Base to /plexwebtools and restart the plex container location /plexwebtools { @@ -10,11 +10,10 @@ location ^~ /plexwebtools/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/podgrab.subdomain.conf.sample b/podgrab.subdomain.conf.sample index 67a7b14..8916ff3 100644 --- a/podgrab.subdomain.conf.sample +++ b/podgrab.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for podgrab and that your podgrab container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/portainer.subdomain.conf.sample b/portainer.subdomain.conf.sample index ad6642e..941fc0f 100644 --- a/portainer.subdomain.conf.sample +++ b/portainer.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for portainer server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -44,11 +43,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/portainer.subfolder.conf.sample b/portainer.subfolder.conf.sample index 120e54b..4f9e5d3 100644 --- a/portainer.subfolder.conf.sample +++ b/portainer.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # portainer does not require a base url setting location /portainer { @@ -10,11 +10,10 @@ location ^~ /portainer/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/privatebin.subdomain.conf.sample b/privatebin.subdomain.conf.sample index 0a7256d..9d4d81d 100644 --- a/privatebin.subdomain.conf.sample +++ b/privatebin.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for privatebin server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/prometheus.subdomain.conf.sample b/prometheus.subdomain.conf.sample index 68effb2..e85fe82 100644 --- a/prometheus.subdomain.conf.sample +++ b/prometheus.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for prometheus and that your prometheus container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/prowlarr.subdomain.conf.sample b/prowlarr.subdomain.conf.sample index 8dc34ab..e3c2c0e 100644 --- a/prowlarr.subdomain.conf.sample +++ b/prowlarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/28 +## Version 2022/09/08 # make sure that your dns has a cname set for prowlarr and that your prowlarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -45,5 +44,4 @@ server { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/prowlarr.subfolder.conf.sample b/prowlarr.subfolder.conf.sample index 75021e7..790d734 100644 --- a/prowlarr.subfolder.conf.sample +++ b/prowlarr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/28 +## Version 2022/09/08 # first go into prowlarr settings, under "General" set the URL Base to /prowlarr and restart the prowlarr container location /prowlarr { @@ -6,11 +6,10 @@ location /prowlarr { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pydio-cells.subdomain.conf.sample b/pydio-cells.subdomain.conf.sample index 3ba3de0..f5b6cb4 100644 --- a/pydio-cells.subdomain.conf.sample +++ b/pydio-cells.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for pydio-cells server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -43,11 +42,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pydio.subdomain.conf.sample b/pydio.subdomain.conf.sample index e66cb96..0e5a4b8 100644 --- a/pydio.subdomain.conf.sample +++ b/pydio.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for pydio and that your pydio container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pyload.subdomain.conf.sample b/pyload.subdomain.conf.sample index f2b1de8..bcd5272 100644 --- a/pyload.subdomain.conf.sample +++ b/pyload.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for pyload and that your pyload container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/pyload.subfolder.conf.sample b/pyload.subfolder.conf.sample index e401adc..39de085 100644 --- a/pyload.subfolder.conf.sample +++ b/pyload.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/10/03 +## Version 2022/09/08 # First go into pyload settings, under "Web Interface" set the "Path Prefix" to /pyload and restart the pyload container # Only works with pyload-ng @@ -7,11 +7,10 @@ location ^~ /pyload { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/qbittorrent.subdomain.conf.sample b/qbittorrent.subdomain.conf.sample index f8aa78e..7d35352 100644 --- a/qbittorrent.subdomain.conf.sample +++ b/qbittorrent.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for qbittorrent and that your qbittorrent container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/qbittorrent.subfolder.conf.sample b/qbittorrent.subfolder.conf.sample index 4f9b847..e433f4c 100644 --- a/qbittorrent.subfolder.conf.sample +++ b/qbittorrent.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # qbittorrent does not require a base url setting location /qbittorrent { @@ -10,11 +10,10 @@ location ^~ /qbittorrent/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/quassel-web.subdomain.conf.sample b/quassel-web.subdomain.conf.sample index d35702c..23b23a4 100644 --- a/quassel-web.subdomain.conf.sample +++ b/quassel-web.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for quassel and make sure Quassel-Web is running on http # with -e 'HTTPS'='false' or if you're using -e 'ADVANCED'='true' by editing config.json appropriately @@ -12,10 +12,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/quassel-web.subfolder.conf.sample b/quassel-web.subfolder.conf.sample index 1d831dc..c17e4a1 100644 --- a/quassel-web.subfolder.conf.sample +++ b/quassel-web.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Set base-url with docker run command env variable -e 'URL_BASE'='/quassel' and make sure Quassel-Web is running on http # with -e 'HTTPS'='false' or if you're using -e 'ADVANCED'='true' by editing config.json appropriately @@ -7,11 +7,10 @@ location ^~ /quassel { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/radarr.subdomain.conf.sample b/radarr.subdomain.conf.sample index 71efed2..b7ef96c 100644 --- a/radarr.subdomain.conf.sample +++ b/radarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for radarr and that your radarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/radarr.subfolder.conf.sample b/radarr.subfolder.conf.sample index e8d3dd8..4acfb60 100644 --- a/radarr.subfolder.conf.sample +++ b/radarr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into radarr settings, under "General" set the URL Base to /radarr and restart the radarr container location ^~ /radarr { @@ -6,11 +6,10 @@ location ^~ /radarr { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/raneto.subdomain.conf.sample b/raneto.subdomain.conf.sample index 7cddd09..cbbdaa0 100644 --- a/raneto.subdomain.conf.sample +++ b/raneto.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that your dns has a cname set for raneto server { listen 443 ssl; @@ -10,10 +10,10 @@ server { client_max_body_size 0; - #enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -21,11 +21,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - #enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/rclone.subfolder.conf.sample b/rclone.subfolder.conf.sample index 47dc7a5..5e7db7b 100644 --- a/rclone.subfolder.conf.sample +++ b/rclone.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/03/19 +## Version 2022/09/08 # rclone does not require a base url location /rclone { @@ -10,11 +10,10 @@ location ^~ /rclone/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/readarr.subdomain.conf.sample b/readarr.subdomain.conf.sample index 84a6202..8ed1a62 100644 --- a/readarr.subdomain.conf.sample +++ b/readarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/28 +## Version 2022/09/08 # make sure that your dns has a cname set for readarr and that your readarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/readarr.subfolder.conf.sample b/readarr.subfolder.conf.sample index e64fb2f..6463d24 100644 --- a/readarr.subfolder.conf.sample +++ b/readarr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/28 +## Version 2022/09/08 # first go into readarr settings, under "General" set the URL Base to /readarr and restart the readarr container location ^~ /readarr { @@ -6,11 +6,10 @@ location ^~ /readarr { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/recipes.subdomain.conf.sample b/recipes.subdomain.conf.sample index 013a475..5de66f8 100644 --- a/recipes.subdomain.conf.sample +++ b/recipes.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for recipes # make sure to mount /media/ in your swag container to point to your Recipes Media directory @@ -15,27 +15,26 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; - + # serve media files location /media/ { alias /media/; } - + location / { # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/requestrr.subdomain.conf.sample b/requestrr.subdomain.conf.sample index 3e8cead..080deb7 100644 --- a/requestrr.subdomain.conf.sample +++ b/requestrr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for requestrr server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/resilio-sync.subdomain.conf.sample b/resilio-sync.subdomain.conf.sample index 331f50e..835f639 100644 --- a/resilio-sync.subdomain.conf.sample +++ b/resilio-sync.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for resilio-sync and that your resilio-sync container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/rutorrent.subdomain.conf.sample b/rutorrent.subdomain.conf.sample index cb259cb..e9cc83c 100644 --- a/rutorrent.subdomain.conf.sample +++ b/rutorrent.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for rutorrent server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -43,11 +42,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; # block rpc access by default because it is unprotected diff --git a/rutorrent.subfolder.conf.sample b/rutorrent.subfolder.conf.sample index f041a44..bc64a1f 100644 --- a/rutorrent.subfolder.conf.sample +++ b/rutorrent.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # rutorrent does not require a base url setting location /rutorrent { @@ -10,11 +10,10 @@ location ^~ /rutorrent/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -32,11 +31,10 @@ location ^~ /rutorrent/RPC2 { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; # block rpc access by default because it is unprotected diff --git a/sabnzbd.subdomain.conf.sample b/sabnzbd.subdomain.conf.sample index a3c95d3..5038cda 100644 --- a/sabnzbd.subdomain.conf.sample +++ b/sabnzbd.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for sabnzbd # edit the sabnzbd.ini host_whitelist to avoid hostname verification issues. This format: # host_whitelist = sabnzbd.domain.com, www.sabnzbd.domain.com @@ -13,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sabnzbd.subfolder.conf.sample b/sabnzbd.subfolder.conf.sample index 82646a9..59e1802 100644 --- a/sabnzbd.subfolder.conf.sample +++ b/sabnzbd.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # sabnzbd already uses the base url /sabnzbd by default so you don't need to do anything extra location ^~ /sabnzbd { @@ -6,11 +6,10 @@ location ^~ /sabnzbd { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/scope.subfolder.conf.sample b/scope.subfolder.conf.sample index f9776fb..a0e8a6d 100644 --- a/scope.subfolder.conf.sample +++ b/scope.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Scope does not require a base url setting location /scope { @@ -10,11 +10,10 @@ location ^~ /scope/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/scrutiny.subdomain.conf.sample b/scrutiny.subdomain.conf.sample index 81e7d8e..8dd334e 100644 --- a/scrutiny.subdomain.conf.sample +++ b/scrutiny.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for scrutiny and that your scrutiny container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/shinobi.subdomain.conf.sample b/shinobi.subdomain.conf.sample index 0e99596..92170e5 100644 --- a/shinobi.subdomain.conf.sample +++ b/shinobi.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/01/03 +## Version 2022/09/08 # make sure that your dns has a cname set for shinobi and that your shinobi config.json is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/shinobi.subfolder.conf.sample b/shinobi.subfolder.conf.sample index 9f6de1e..13a79e6 100644 --- a/shinobi.subfolder.conf.sample +++ b/shinobi.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/01/03 +## Version 2022/09/08 # ensure your config.json file has an entry for the base url set to /shinobi, i.e. # "baseurl":"/shinobi" @@ -11,11 +11,10 @@ location ^~ /shinobi/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sickchill.subdomain.conf.sample b/sickchill.subdomain.conf.sample index a292fab..cc09e2f 100644 --- a/sickchill.subdomain.conf.sample +++ b/sickchill.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for sickchill server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sickchill.subfolder.conf.sample b/sickchill.subfolder.conf.sample index 32d66b5..1e2a9a6 100644 --- a/sickchill.subfolder.conf.sample +++ b/sickchill.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first stop the sickchill container and edit the config.ini for sickchill and set web_root to /sickchill and then start the sickchill container location ^~ /sickchill { @@ -6,11 +6,10 @@ location ^~ /sickchill { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sickrage.subdomain.conf.sample b/sickrage.subdomain.conf.sample index b09c6fd..ea1b48d 100644 --- a/sickrage.subdomain.conf.sample +++ b/sickrage.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for sickrage server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sickrage.subfolder.conf.sample b/sickrage.subfolder.conf.sample index 834cce2..2fd9aca 100644 --- a/sickrage.subfolder.conf.sample +++ b/sickrage.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first stop the sickrage container and edit the config.ini for sickrage and set web_root to /sickrage and then start the sickrage container location ^~ /sickrage { @@ -6,11 +6,10 @@ location ^~ /sickrage { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/skyhook.subdomain.conf.sample b/skyhook.subdomain.conf.sample index 3319a9f..9419369 100644 --- a/skyhook.subdomain.conf.sample +++ b/skyhook.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for skyhook and that your skyhook container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/smokeping.subdomain.conf.sample b/smokeping.subdomain.conf.sample index 1298c68..8cc1db5 100644 --- a/smokeping.subdomain.conf.sample +++ b/smokeping.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for smokeping server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/smokeping.subfolder.conf.sample b/smokeping.subfolder.conf.sample index 8f45e90..206673e 100644 --- a/smokeping.subfolder.conf.sample +++ b/smokeping.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # smokeping already uses the base url /smokeping by default so you don't need to do anything extra location ^~ /smokeping { @@ -6,11 +6,10 @@ location ^~ /smokeping { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sonarr.subdomain.conf.sample b/sonarr.subdomain.conf.sample index 2f2ed98..e583eb1 100644 --- a/sonarr.subdomain.conf.sample +++ b/sonarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for sonarr and that your sonarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/sonarr.subfolder.conf.sample b/sonarr.subfolder.conf.sample index 76cc151..8cb065c 100644 --- a/sonarr.subfolder.conf.sample +++ b/sonarr.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into sonarr settings, under "General" set the URL Base to /sonarr and restart the sonarr container location ^~ /sonarr { @@ -6,11 +6,10 @@ location ^~ /sonarr { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/statping.subdomain.conf.sample b/statping.subdomain.conf.sample index 8f4a685..68f89a8 100644 --- a/statping.subdomain.conf.sample +++ b/statping.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for statping and that your statping container is not using a base url # If you are using the SSL docker-compose.yml on the statping repo, then the container name will be set to statup. # On other compose examples, it might be named statping. In that case, change $upstream_app statup to $upstream_app statping @@ -13,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/synapse.subdomain.conf.sample b/synapse.subdomain.conf.sample index 6107f7f..75c8804 100644 --- a/synapse.subdomain.conf.sample +++ b/synapse.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/10/03 +## Version 2022/09/08 server { listen 443 ssl http2; @@ -14,10 +14,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -25,11 +25,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/synclounge.subdomain.conf.sample b/synclounge.subdomain.conf.sample index fe9feb2..e1175aa 100644 --- a/synclounge.subdomain.conf.sample +++ b/synclounge.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/08 +## Version 2022/09/08 # Use this with SyncLounge v3 and up. # Make sure that you do not have HSTS enabled, otherwise http access won't work # Make sure that your dns has a cname set for synclounge @@ -15,10 +15,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -26,11 +26,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -48,5 +47,4 @@ server { proxy_set_header Sec-WebSocket-Version $http_sec_websocket_version; } - } diff --git a/synclounge.subfolder.conf.sample b/synclounge.subfolder.conf.sample index 3224526..10d47b5 100644 --- a/synclounge.subfolder.conf.sample +++ b/synclounge.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/08 +## Version 2022/09/08 # Use this with SyncLounge v3 or up # # To allow non-secure connections (http), which is required by some Plex clients, modify the first block in site-confs/default to look something like this: @@ -29,11 +29,10 @@ location /synclounge/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/syncthing.subdomain.conf.sample b/syncthing.subdomain.conf.sample index b99a0cd..98e2351 100644 --- a/syncthing.subdomain.conf.sample +++ b/syncthing.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for syncthing and that your syncthing container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/syncthing.subfolder.conf.sample b/syncthing.subfolder.conf.sample index a84037d..d58702d 100644 --- a/syncthing.subfolder.conf.sample +++ b/syncthing.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # syncthing does not require a base url setting location /syncthing { @@ -10,11 +10,10 @@ location ^~ /syncthing/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/taisun.subdomain.conf.sample b/taisun.subdomain.conf.sample index bd3b4f4..c435b41 100644 --- a/taisun.subdomain.conf.sample +++ b/taisun.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for taisun server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/tasmobackup.subdomain.conf.sample b/tasmobackup.subdomain.conf.sample index bd8f867..b8bd110 100644 --- a/tasmobackup.subdomain.conf.sample +++ b/tasmobackup.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/01 +## Version 2022/09/08 # make sure that your dns has a cname set for tasmobackup server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/tautulli.subdomain.conf.sample b/tautulli.subdomain.conf.sample index 1ee7811..7df7032 100644 --- a/tautulli.subdomain.conf.sample +++ b/tautulli.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for tautulli and that your tautulli container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -67,5 +66,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/tautulli.subfolder.conf.sample b/tautulli.subfolder.conf.sample index 9311502..e213871 100644 --- a/tautulli.subfolder.conf.sample +++ b/tautulli.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # first go into tautulli settings, under "Web Interface", click on show advanced, set the HTTP root to /tautulli and restart the tautulli container location ^~ /tautulli { @@ -6,11 +6,10 @@ location ^~ /tautulli { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -50,4 +49,4 @@ location ^~ /tautulli/image { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; -} \ No newline at end of file +} diff --git a/tdarr.subdomain.conf.sample b/tdarr.subdomain.conf.sample index 6a5ff29..3c83664 100644 --- a/tdarr.subdomain.conf.sample +++ b/tdarr.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for tdarr and that your tdarr container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/thelounge.subdomain.conf.sample b/thelounge.subdomain.conf.sample index 17ede34..c80d5a6 100644 --- a/thelounge.subdomain.conf.sample +++ b/thelounge.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for thelounge server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/thelounge.subfolder.conf.sample b/thelounge.subfolder.conf.sample index 5b9bb15..5082d92 100644 --- a/thelounge.subfolder.conf.sample +++ b/thelounge.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # thelounge does not require a base url setting location /thelounge { @@ -10,11 +10,10 @@ location ^~ /thelounge/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/transmission.subdomain.conf.sample b/transmission.subdomain.conf.sample index a23c62e..d35fabb 100644 --- a/transmission.subdomain.conf.sample +++ b/transmission.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that DNS has a cname set for transmission # # Some Transmission Chrome extensions cannot handle HTTP/2 proxies as they @@ -21,10 +21,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -32,11 +32,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/transmission.subfolder.conf.sample b/transmission.subfolder.conf.sample index f1db572..8e80ecc 100644 --- a/transmission.subfolder.conf.sample +++ b/transmission.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Transmission does not require a base url setting # # Some Transmission Chrome extensions cannot handle HTTP/2 proxies as they @@ -16,11 +16,10 @@ location ^~ /transmission { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/ubooquity.subdomain.conf.sample b/ubooquity.subdomain.conf.sample index d82c0e5..f54c660 100644 --- a/ubooquity.subdomain.conf.sample +++ b/ubooquity.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # Make sure that your dns has a cname set for ubooquity and that your ubooquity container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/ubooquity.subfolder.conf.sample b/ubooquity.subfolder.conf.sample index c580c69..335bb80 100644 --- a/ubooquity.subfolder.conf.sample +++ b/ubooquity.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # set the reverse proxy prefix in the admin gui to ubooquity. location ^~ /ubooquity { @@ -6,11 +6,10 @@ #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/unifi-controller.subdomain.conf.sample b/unifi-controller.subdomain.conf.sample index 1739b34..87a6103 100644 --- a/unifi-controller.subdomain.conf.sample +++ b/unifi-controller.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for unifi and that your unifi-controller container is not using a base url # NOTE: If you use the proxy_cookie_path setting in proxy.conf you need to remove HTTPOnly; # ex: proxy_cookie_path / "/; Secure"; @@ -13,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/uptime-kuma.subdomain.conf.sample b/uptime-kuma.subdomain.conf.sample index b7dbf0f..fc4b91e 100644 --- a/uptime-kuma.subdomain.conf.sample +++ b/uptime-kuma.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for uptime-kuma and that your uptime-kuma container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/vaultwarden.subdomain.conf.sample b/vaultwarden.subdomain.conf.sample index 53769c3..12198b4 100644 --- a/vaultwarden.subdomain.conf.sample +++ b/vaultwarden.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/02/08 +## Version 2022/09/08 # make sure that your dns has a cname set for vaultwarden and that your vaultwarden container is not using a base url # make sure your vaultwarden container is named "vaultwarden" # set the environment variable WEBSOCKET_ENABLED=true on your vaultwarden container @@ -13,10 +13,10 @@ server { client_max_body_size 128M; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -45,11 +44,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/vaultwarden.subfolder.conf.sample b/vaultwarden.subfolder.conf.sample index 456f928..8066902 100644 --- a/vaultwarden.subfolder.conf.sample +++ b/vaultwarden.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/02/08 +## Version 2022/09/08 ## Environmental Variable DOMAIN=https:///vaultwarden must be set in vaultwarden container including subfolder. ## This is using ports 80 and 3012 location /vaultwarden { @@ -10,11 +10,10 @@ location ^~ /vaultwarden/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -31,11 +30,10 @@ location ~ (/vaultwarden)?/admin { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/wallabag.subdomain.conf.sample b/wallabag.subdomain.conf.sample index 97fe08f..de402d8 100644 --- a/wallabag.subdomain.conf.sample +++ b/wallabag.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for wallabag and that your wallabag container is not using a base url. # also, make sure your env var in your docker run or compose match the full domain, incl. https:// # i.e. - SYMFONY__ENV__DOMAIN_NAME=https://wallabag.yourdomain.com @@ -13,10 +13,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -24,11 +24,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/webtop.subdomain.conf.sample b/webtop.subdomain.conf.sample index 158d278..133e77f 100644 --- a/webtop.subdomain.conf.sample +++ b/webtop.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/04 +## Version 2022/09/08 # make sure that you have a cname set for the webtop # set up authentication here, for better security @@ -12,10 +12,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -23,11 +23,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/wordpress.subfolder.conf.sample b/wordpress.subfolder.conf.sample index 6771d55..6818bd0 100644 --- a/wordpress.subfolder.conf.sample +++ b/wordpress.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2022/02/24 +## Version 2022/09/08 # In order to use this location block you need to edit the default file one folder up and comment out the / location as well as the "~ \.php$" location # tested with the official wordpress docker image @@ -7,11 +7,10 @@ location / { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -21,4 +20,4 @@ location / { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; -} \ No newline at end of file +} diff --git a/yacht.subdomain.conf.sample b/yacht.subdomain.conf.sample index 8a4cbbc..f77cc51 100644 --- a/yacht.subdomain.conf.sample +++ b/yacht.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for yacht server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -35,6 +34,6 @@ server { set $upstream_port 8000; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } diff --git a/youtube-dl-server.subdomain.conf.sample b/youtube-dl-server.subdomain.conf.sample index db00028..9c610e3 100644 --- a/youtube-dl-server.subdomain.conf.sample +++ b/youtube-dl-server.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for youtube-dl-server and that your youtube-dl-server container is not using a base url server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; @@ -37,5 +36,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } - } diff --git a/youtube-dl.subfolder.conf.sample b/youtube-dl.subfolder.conf.sample index 74f9c1d..fe5278d 100644 --- a/youtube-dl.subfolder.conf.sample +++ b/youtube-dl.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/07/08 +## Version 2022/09/08 # Works with this youtube-dl Fork: https://github.com/nbr23/youtube-dl-server location /youtube-dl { @@ -10,9 +10,11 @@ location ^~ /youtube-dl/ { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /login; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; + + # enable for Authelia (requires authelia-server.conf in the server block) + #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; diff --git a/znc.subdomain.conf.sample b/znc.subdomain.conf.sample index 02faef2..cf1a138 100644 --- a/znc.subdomain.conf.sample +++ b/znc.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # make sure that your dns has a cname set for znc server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/znc.subfolder.conf.sample b/znc.subfolder.conf.sample index 5f176c5..a42d6f1 100644 --- a/znc.subfolder.conf.sample +++ b/znc.subfolder.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/05/18 +## Version 2022/09/08 # edit /config/configs/znc.conf and add URIPrefix = /znc/ in the line above and restart the znc container location /znc { @@ -6,11 +6,10 @@ location /znc { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia, also enable authelia-server.conf in the default site config + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf; diff --git a/zwavejs2mqtt.subdomain.conf.sample b/zwavejs2mqtt.subdomain.conf.sample index 4eee313..77f0ef2 100644 --- a/zwavejs2mqtt.subdomain.conf.sample +++ b/zwavejs2mqtt.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2021/06/26 +## Version 2022/09/08 # make sure that your dns has a cname set for zwavejs2mqtt server { @@ -11,10 +11,10 @@ server { client_max_body_size 0; - # enable for ldap auth, fill in ldap details in ldap.conf - #include /config/nginx/ldap.conf; + # enable for ldap auth (requires ldap-location.conf in the location block) + #include /config/nginx/ldap-server.conf; - # enable for Authelia + # enable for Authelia (requires authelia-location.conf in the location block) #include /config/nginx/authelia-server.conf; location / { @@ -22,11 +22,10 @@ server { #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; - # enable the next two lines for ldap auth - #auth_request /auth; - #error_page 401 =200 /ldaplogin; + # enable for ldap auth (requires ldap-server.conf in the server block) + #include /config/nginx/ldap-location.conf; - # enable for Authelia + # enable for Authelia (requires authelia-server.conf in the server block) #include /config/nginx/authelia-location.conf; include /config/nginx/proxy.conf;