Here is the nginx config for SOGo:

location ^~/SOGo
   {
      proxy_pass http://127.0.0.1:20000;
      proxy_redirect http://127.0.0.1:20000 default;
      # forward user's IP address
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header Host $host;
      proxy_set_header x-webobjects-server-protocol HTTP/1.0;
      proxy_set_header x-webobjects-remote-host 127.0.0.1;
      proxy_set_header x-webobjects-server-name $server_name;
      proxy_set_header x-webobjects-server-url $scheme://$host;
      proxy_set_header x-webobjects-server-port $server_port;
      proxy_connect_timeout 90;
      proxy_send_timeout 90;
      proxy_read_timeout 90;
      proxy_buffer_size 4k;
      proxy_buffers 4 32k;
      proxy_busy_buffers_size 64k;
      proxy_temp_file_write_size 64k;
      break;
   }



Am Mi, 16. Nov 2016, um 08:44, schrieb martin:
> How long does you nginx keeps the connection open?
> Could you post your nginx conf for sogo?
>
>
> Am Dienstag, November 15, 2016 21:57 CET, "Andreas" (list_mgnr@zero-
> one.net) <users@sogo.nu> schrieb:
>
>> Hi,
>>
>> I am facing issues with ActiveSync while only having one client (1
>> device) on the server.
>>
>> My logs say:
>>
>> mail1 sogo.log: Nov 15 21:45:36 sogod [17252]: [ERROR]
>> <0x0x56309eb3b0a0[WOHttpTransaction]> client disconnected during
>> delivery of response for <WORequest[0x0x56309eaf74e0]: method=POST
>> uri=/SOGo/Microsoft-Server-
>> ActiveSync?User=m...@example.com&DeviceId=F3SIOJ32FH08BACH0U077OOA64-
>> &DeviceType=iPhone&Cmd=Ping
>> app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)>
>> (len=13): the
>> socket was shutdown
>>
>> Sometimes even my nginx crashes.
>>
>> This is my configuration in nginx:
>> location ^~ /Microsoft-Server-ActiveSync {
>> proxy_pass
>> http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
>> proxy_redirect http://127.0.0.1:20000/Microsoft-Server-ActiveSync
>> /;
>> }
>> location ^~ /SOGo/Microsoft-Server-ActiveSync {
>> proxy_pass
>> http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
>> proxy_redirect
>> http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync /;
>> }
>>
>> This is my config in sogo.conf
>>
>> WOWorkersCount = 15;
>> SOGoMaximumPingInterval = 3540;
>> SOGoMaximumSyncInterval = 3540;
>> SOGoInternalSyncInterval = 30;
>>
>> What could be the reason for the crashes? SOGo web interface is
>> working
>> pretty good ...
>>
>>
>> Thanks,
>>
>> Andreas
>> --
>> users@sogo.nu
>> https://inverse.ca/sogo/lists
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to