mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Merge pull request #523 from linuxserver/spacing
Fix inconsistent spacing
This commit is contained in:
@@ -23,7 +23,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ server {
|
|||||||
include /config/nginx/ssl.conf;
|
include /config/nginx/ssl.conf;
|
||||||
|
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
# enable for ldap auth (requires ldap-location.conf in the location block)
|
# enable for ldap auth (requires ldap-location.conf in the location block)
|
||||||
#include /config/nginx/ldap-server.conf;
|
#include /config/nginx/ldap-server.conf;
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ server {
|
|||||||
|
|
||||||
# enable for Authentik (requires authentik-location.conf in the location block)
|
# enable for Authentik (requires authentik-location.conf in the location block)
|
||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
@@ -43,4 +43,4 @@ server {
|
|||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
@@ -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 pgadmin container is named pgadmin
|
||||||
# make sure that your dns has a cname set for pgadmin
|
# make sure that your dns has a cname set for pgadmin
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
@@ -42,6 +42,9 @@ server {
|
|||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
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)
|
# Uncomment to allow loading in an iframe (i.e. Organizr)
|
||||||
#proxy_hide_header X-Frame-Options;
|
#proxy_hide_header X-Frame-Options;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ server {
|
|||||||
|
|
||||||
# enable for Authentik (requires authentik-location.conf in the location block)
|
# enable for Authentik (requires authentik-location.conf in the location block)
|
||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ server {
|
|||||||
#include /config/nginx/authentik-server.conf;
|
#include /config/nginx/authentik-server.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
#enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user