How to configure NGINX for Angular and ReactJS

Applications based on JavaScript frameworks, such as React and Angular, typically handle their own internal routing. However, the routing happens within the application and not at the web server. Since the routes are not visible to the web server they will not be served by the web server. Learn how to configure NGINX to support your routes.