location /Microsoft-Server-ActiveSync { client_max_body_size 30M; # set maximum upload size for mail attachments include fastcgi_params; fastcgi_index index.php; fastcgi_pass unix:/run/php5-kolab-syncroton.sock; fastcgi_param SCRIPT_FILENAME /usr/share/kolab-syncroton/index.php; fastcgi_read_timeout 120; }