diff --git a/beets.subdomain.conf.sample b/beets.subdomain.conf.sample index f48d62b..1441dfc 100644 --- a/beets.subdomain.conf.sample +++ b/beets.subdomain.conf.sample @@ -23,7 +23,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; diff --git a/bookstack.subdomain.conf.sample b/bookstack.subdomain.conf.sample index 63ff034..255ca16 100644 --- a/bookstack.subdomain.conf.sample +++ b/bookstack.subdomain.conf.sample @@ -24,7 +24,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; diff --git a/castopod.subdomain.conf.sample b/castopod.subdomain.conf.sample index 9544a7d..6d60034 100644 --- a/castopod.subdomain.conf.sample +++ b/castopod.subdomain.conf.sample @@ -11,7 +11,7 @@ server { include /config/nginx/ssl.conf; client_max_body_size 0; - + # enable for ldap auth (requires ldap-location.conf in the location block) #include /config/nginx/ldap-server.conf; @@ -20,7 +20,7 @@ server { # enable for Authentik (requires authentik-location.conf in the location block) #include /config/nginx/authentik-server.conf; - + location / { # enable the next two lines for http auth #auth_basic "Restricted"; @@ -43,4 +43,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } -} +} diff --git a/commento.subdomain.conf.sample b/commento.subdomain.conf.sample index db45f68..6ee6ddc 100644 --- a/commento.subdomain.conf.sample +++ b/commento.subdomain.conf.sample @@ -22,7 +22,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; diff --git a/documentserver.subdomain.conf.sample b/documentserver.subdomain.conf.sample index 428116b..07d2c84 100644 --- a/documentserver.subdomain.conf.sample +++ b/documentserver.subdomain.conf.sample @@ -22,7 +22,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; diff --git a/dokuwiki.subdomain.conf.sample b/dokuwiki.subdomain.conf.sample index 8e05e12..9477dc4 100644 --- a/dokuwiki.subdomain.conf.sample +++ b/dokuwiki.subdomain.conf.sample @@ -23,7 +23,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; diff --git a/ghost.subdomain.conf.sample b/ghost.subdomain.conf.sample index e535a72..99641ce 100644 --- a/ghost.subdomain.conf.sample +++ b/ghost.subdomain.conf.sample @@ -22,7 +22,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; diff --git a/pgadmin.subdomain.conf.sample b/pgadmin.subdomain.conf.sample index e24807e..d9ad3fc 100644 --- a/pgadmin.subdomain.conf.sample +++ b/pgadmin.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2023/02/05 +## Version 2023/02/10 # make sure that your pgadmin container is named pgadmin # make sure that your dns has a cname set for pgadmin @@ -22,7 +22,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; @@ -42,6 +42,9 @@ server { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + # Hide proxy port to prevent CSRF errors + proxy_hide_header X-Forwarded-Port; + # Uncomment to allow loading in an iframe (i.e. Organizr) #proxy_hide_header X-Frame-Options; } diff --git a/plex.subdomain.conf.sample b/plex.subdomain.conf.sample index 1a99c6e..3caf260 100644 --- a/plex.subdomain.conf.sample +++ b/plex.subdomain.conf.sample @@ -26,6 +26,7 @@ server { # enable for Authentik (requires authentik-location.conf in the location block) #include /config/nginx/authentik-server.conf; + location / { # enable the next two lines for http auth #auth_basic "Restricted"; diff --git a/raneto.subdomain.conf.sample b/raneto.subdomain.conf.sample index b655ff8..b0038b1 100644 --- a/raneto.subdomain.conf.sample +++ b/raneto.subdomain.conf.sample @@ -22,7 +22,7 @@ server { #include /config/nginx/authentik-server.conf; location / { - #enable the next two lines for http auth + # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd;