this need to be done to make it work in that default file
Configure nginx to serve API on /api subdirectory. Configure nginx to serve www/dist as static website.
Serving API using nginx
Create an upstream for API:
upstream api {
server 127.0.0.1:8080;
}
and add this setting after location /:
location /api {
proxy_pass http://api;
}
can you tell me what actual setting should i have to use in the default ngnix file