diff --git a/conf/nginx.conf b/conf/nginx.conf index 63785a1..975af67 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,16 +9,13 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - index index.php index.html ; + index index.php ; - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + rewrite ^/.*$ /index.php last; - try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; - fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user;