public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Nginx, SOGo] Adjustments for EAS
1580e4b2
data/conf/nginx/site.conf | 19 +++++--------------
data/conf/sogo/sogo.conf | 6 +++---
2 files changed, 8 insertions(+), 17 deletions(-)
Diff
diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf
index d55595f7..0658c466 100644
--- a/data/conf/nginx/site.conf
+++ b/data/conf/nginx/site.conf
@@ -161,23 +161,14 @@ server {
location ^~ /Microsoft-Server-ActiveSync {
include /etc/nginx/conf.d/sogo_proxy_auth.active;
include /etc/nginx/conf.d/sogo_eas.active;
- proxy_connect_timeout 4000;
- proxy_next_upstream timeout error;
- proxy_send_timeout 4000;
- proxy_read_timeout 4000;
- proxy_buffer_size 8k;
- proxy_buffers 16 64k;
- proxy_temp_file_write_size 64k;
- proxy_busy_buffers_size 64k;
+ proxy_connect_timeout 75;
+ proxy_send_timeout 3600;
+ proxy_read_timeout 3600;
+ proxy_buffers 64 256k;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
- proxy_set_header x-webobjects-server-protocol HTTP/1.0;
- proxy_set_header x-webobjects-remote-host $remote_addr;
- proxy_set_header x-webobjects-server-name $server_name;
- proxy_set_header x-webobjects-server-url $client_req_scheme://$http_host;
- proxy_set_header x-webobjects-server-port $server_port;
- client_body_buffer_size 128k;
+ client_body_buffer_size 512k;
client_max_body_size 0;
}
diff --git a/data/conf/sogo/sogo.conf b/data/conf/sogo/sogo.conf
index f9e9e077..46571a49 100644
--- a/data/conf/sogo/sogo.conf
+++ b/data/conf/sogo/sogo.conf
@@ -37,7 +37,7 @@
SOGoMailingMechanism = smtp;
SOGoSMTPAuthenticationType = plain;
- SxVMemLimit = 384;
+ SxVMemLimit = 512;
SOGoMaximumPingInterval = 3540;
@@ -49,8 +49,8 @@
// This should do the trick for Outlook 2016
SOGoMaximumSyncResponseSize = 512;
- WOWatchDogRequestTimeout = 20;
- WOListenQueueSize = 300;
+ WOWatchDogRequestTimeout = 30;
+ WOListenQueueSize = 512;
WONoDetach = YES;
SOGoIMAPAclConformsToIMAPExt = Yes;