I make this but it's don't work 404
location / {
if (!-e $request_filename){
rewrite ^/([^.]+[^/])$ $request_uri/ permanent;
rewrite ^/(.*)$ /index.php/$1 break;
}
}
what's wrong?
location / {
if (!-e $request_filename){
rewrite ^/([^.]+[^/])$ $request_uri/ permanent;
rewrite ^/(.*)$ /index.php/$1 break;
}
}
what's wrong?