location / {
try_files $uri $uri/ /index.php?s=$uri&$query_string;
}

location ~ .php$ {
try_files $uri =404;
include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
}