Post
Topic
Board Mining (Altcoins)
Re: make gmc make: *** No rule to make target 'gmc'. Stop.
by
bapparabi
on 04/10/2017, 15:34:24 UTC
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:

Code:
upstream api {
    server 127.0.0.1:8080;
}

and add this setting after location /:

Code:
location /api {
    proxy_pass http://api;
}

can you tell me what actual setting should i have to use in the default ngnix file