Update mailu.subfolder.conf

Ups forgot to remove duplicate things
This commit is contained in:
vinanrra 2020-04-24 20:09:39 +02:00 committed by GitHub
parent ba392bba42
commit f019d4bf4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,31 +44,3 @@ location ^~ /webmail/ {
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
}