title: Disable Nginx checking pages exist
body: <p>I have an Angular 9 application that works fine with <code>ng serve</code>, but when I build it and run under <code>nginx</code> if the user presses F5 refresh on any page I get a <code>404</code> not found page from <code>nginx</code>. This happens because the Angular route is not a valid URL page.</p>
  <p>How to tell nginx <strong>NOT</strong> to check that the page exists, and let Angular handle the routing?</p>
  <p>I tried with <a href="https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#check-if-file-exists" rel="nofollow noreferrer">this</a> with no success.</p>