Currently every invalid page is 500 (Internal Server Error) because I probably messed up with my server block configuration.
I decided to shut down my website a whil
Must use
"fastcgi_intercept_errors on;"
along with the custom redirect location like error_page 404 =200 /index.html or
error_page 404 =200 /index.html
as above
location @myownredirect { return 302 /; }