Hey, thank you for your answer.
try_files only seems to hit when a root directive is set in the config. try_files only works on /home/www$uri files, not on /www/html$uri files.
Is this intended? How can I make it work when a file called /www/html/asdf.php is requested by /asdf.php?
[code]
location / {
root /home/www;
try_files $uri "/www/html$uri" @ksphp;
if ($request_filename ~* \.(js|css)$) {
return 404;
}
index index.php;
expires 30d;
}
[/code]
Thank you!