On 03/08/2016 05:15 AM, [email protected] wrote:
Hello again,

the sogo wiki has an nginx config last updated in 2014. is this config still 
ideal in sogo v3 with current nginx (1.9.12) and centos 7 in mind?

- Fabe S.

And for mobile users:

<pre>
server {
    listen 443;
    server_name m.domain.com;

    client_max_body_size 16m;
    client_body_buffer_size 32k;
    client_header_timeout 360;
    client_body_timeout 360;
    send_timeout 360;

    location ^~ /Microsoft-Server-ActiveSync {
        access_log /var/log/nginx/activesync.log;
        error_log  /var/log/nginx/activesync-error.log;
        resolver your.dns-server.ip.address;

        proxy_connect_timeout 360;
        proxy_send_timeout 360;
        proxy_read_timeout 360;
        proxy_buffers 64 256k;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
        proxy_redirect http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync 
/;
    }

}
</pre>
--

Markets can remain irrational longer than you can remain solvent.

— John Maynard Keynes

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to