diff --git a/conf/nginx.conf b/conf/nginx.conf index 04ec809..71922c7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -16,8 +16,11 @@ location /Microsoft-Server-ActiveSync { # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 20m; client_body_buffer_size 128k; - #fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; # for PHP 7.X Debian/Ubuntu + fastcgi_pass unix:/var/run/php5-fpm-__NAME__.sock; + include fastcgi_params; + fastcgi_param HTTPS on; + fastcgi_param SCRIPT_FILENAME $request_filename; #try_files $uri $uri/ index.php;