mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
Update mailu.subfolder.conf
Ups forgot to remove duplicate things
This commit is contained in:
parent
ba392bba42
commit
f019d4bf4c
1 changed files with 0 additions and 28 deletions
|
@ -44,31 +44,3 @@ location ^~ /webmail/ {
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
location /admin{
|
|
||||||
return 301 $scheme://$host/admin/;
|
|
||||||
proxy_redirect https://localhost https://DOMAIN.TDL; ## To avoid errors https://mailu.io/master/reverse.html
|
|
||||||
}
|
|
||||||
location ^~ /admin/ {
|
|
||||||
include /config/nginx/proxy.conf;
|
|
||||||
resolver 127.0.0.11 valid=30s;
|
|
||||||
set $upstream_app front;
|
|
||||||
set $upstream_port 80;
|
|
||||||
set $upstream_proto http;
|
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
||||||
proxy_redirect https://localhost https://DOMAIN.TDL; ## To avoid errors https://mailu.io/master/reverse.html
|
|
||||||
|
|
||||||
}
|
|
||||||
location /webmail{
|
|
||||||
return 301 $scheme://$host/webmail/;
|
|
||||||
proxy_redirect https://localhost https://DOMAIN.TDL; ## To avoid errors https://mailu.io/master/reverse.html
|
|
||||||
}
|
|
||||||
location ^~ /webmail/ {
|
|
||||||
include /config/nginx/proxy.conf;
|
|
||||||
resolver 127.0.0.11 valid=30s;
|
|
||||||
set $upstream_app front;
|
|
||||||
set $upstream_port 80;
|
|
||||||
set $upstream_proto http;
|
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
||||||
proxy_redirect https://localhost https://DOMAIN.TDL; ## To avoid errors https://mailu.io/master/reverse.html
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue