Hello, does someone know which of these two methods is faster to process for Nginx for handle non-existing files : (we suppose index.php will handle 404 errors) First one with -e directive : if (!-e $request_filename) { rewrite ^(.*) /index.php last; } Second one using error_page and @ : error_page 404 = @foo location @foo { rewrite ^(.*) /index.php last; } Thby kslimani - How to...
![]() |
![]() |
![]() |
![]() |
|