After switching a website to FPM served by nginx in Plesk, it fails to load with "404 Not Found" on all pages except start page

Comments

1 comment

  • Avatar
    Unknown User

    If you don't need or use statistics, you can simplify with:

    if (!-e $request_filename) {
        rewrite ^/(.*)$ /index.php?$1;
    }

    A few microseconds less for each request :-)

    0

Please sign in to leave a comment.

Have more questions? Submit a request