Posted on April 1, 2020April 1, 2020 by Christopher Snaynginx error with Angular routing 404 Not Found nginx/1.14.0 (Ubuntu) Solution: /etc/nginx/sites-available/yoursite #change this line: try_files $uri $uri/ =404; #to this: try_files $uri $uri/ /index.html; #then restart nginx sudo systemctl restart nginx