mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-12 23:07:13 +00:00
Add autodiscover and autoconfig
This commit is contained in:
1 parent
036d547415
commit
49e09d3ca0
5 files changed
+85
-4
No files matched your search
@@ -9,7 +9,7 @@ server {
|
||||
ssl_ecdh_curve secp384r1;
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
|
||||
index index.php index.html;
|
||||
server_name _;
|
||||
server_name _ autodiscover.* autoconfig.*;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
root /web;
|
||||
@@ -39,6 +39,14 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
if ($host ~* autodiscover\.(.*)) {
|
||||
rewrite ^(.*) /autodiscover.php last;
|
||||
}
|
||||
|
||||
if ($host ~* autoconfig\.(.*)) {
|
||||
rewrite ^(.*) /autoconfig.php last;
|
||||
}
|
||||
|
||||
location ^~ /Microsoft-Server-ActiveSync {
|
||||
proxy_pass http://sogo/SOGo/Microsoft-Server-ActiveSync;
|
||||
proxy_connect_timeout 1000;
|
||||
|
||||
Reference in new issue
Block a user