AdditionalInfo - Woz-U-Group-Projects/team-glampfire-trail-mix GitHub Wiki
Additional Information
Nginx
When using Nginx, the try_files
line needs to read:
try_files $uri$args $uri/$args /index.html;
If it's set to the default, reloading any page (other than the home page) fails and goes wherever an unknown route goes (typically a 404 page or index.html).
If you have the backend also on the frontend server, you can route an api uri over to the backend. Just add the following in the server
section in the site's configuration file:
location /api {
proxy_pass http://127.0.0.1:8080/api;
}