[Nginx] Redirect /S|sogo* to /SOGo
This commit is contained in:
parent
767a5c7a0e
commit
ce15dda990
@ -166,6 +166,10 @@
|
|||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /(?:S|s)ogo {
|
||||||
|
return 301 $client_req_scheme://$http_host/SOGo;
|
||||||
|
}
|
||||||
|
|
||||||
location ^~ /SOGo {
|
location ^~ /SOGo {
|
||||||
include /etc/nginx/conf.d/sogo_proxy_auth.active;
|
include /etc/nginx/conf.d/sogo_proxy_auth.active;
|
||||||
include /etc/nginx/conf.d/sogo.active;
|
include /etc/nginx/conf.d/sogo.active;
|
||||||
|
Loading…
Reference in New Issue
Block a user