How to setup routes with Express and NGINX?
Try to remove this line:
try_files $uri $uri/ =404;
With this directive nginx tries to serve a static file (or directory), and returns 404
if there is no such file.
Try to remove this line:
try_files $uri $uri/ =404;
With this directive nginx tries to serve a static file (or directory), and returns 404
if there is no such file.