mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-14 02:27:24 -07:00
Cleanup redundant headers from proxy.conf
Also general cleanup of whitespace
This commit is contained in:
parent
64499676be
commit
54ede40938
60 changed files with 79 additions and 133 deletions
|
@ -6,6 +6,7 @@
|
|||
location /admin{
|
||||
return 301 $scheme://$host/admin/;
|
||||
}
|
||||
|
||||
location ^~ /admin/ {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
|
@ -17,7 +18,7 @@ location ^~ /admin/ {
|
|||
|
||||
# enable for Authelia, also enable authelia-server.conf in the default site config
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app front;
|
||||
|
@ -30,6 +31,7 @@ location ^~ /admin/ {
|
|||
location /webmail{
|
||||
return 301 $scheme://$host/webmail/;
|
||||
}
|
||||
|
||||
location ^~ /webmail/ {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
|
@ -41,7 +43,7 @@ location ^~ /webmail/ {
|
|||
|
||||
# enable for Authelia, also enable authelia-server.conf in the default site config
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app front;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue