[Nginx] Redirect /S|sogo* to /SOGo

master
andryyy 2019-11-28 15:08:11 +01:00
parent 767a5c7a0e
commit ce15dda990
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,10 @@
client_max_body_size 0;
}
location ~ /(?:S|s)ogo {
return 301 $client_req_scheme://$http_host/SOGo;
}
location ^~ /SOGo {
include /etc/nginx/conf.d/sogo_proxy_auth.active;
include /etc/nginx/conf.d/sogo.active;