This feels like a configuration problem somewhere but I can not narrow it down.
Existing site stack is;
MODx Evo 1.2.1
PHP 5.3.3
CentOS 6.5
Nginx 1.1
MySQL 5.1
New stack is;
MODx Evo 1.2.1
Amazon Linux
Nginx 1.10.1
PHP 7.0
MySQL 5.6.10
fastcgi is operating.
html pages serve fine.
/manager/ and any test .php files work fine. I can edit my site in manager and it all operates just the same as production.
However, site index.php/index.html and any known pages throw a Nginx 404 error.
nginx config includes the following MOD rewrite;
#MODx rewrite
client_max_body_size 30M;
location / {
root /var/www/vhosts/ski.com.au/html;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
}
Could the problem be the rewrite above?
Could the problem be php 7.0 and Evo?
Could the problem be something in Evo configs?
Any clues appreciated.
thanks