You are viewing a single comment's thread from:

RE: How to make an Ethereum mining pool

in #ethereum7 years ago

He there thanks for the guide it has helped me alot one question i am batteling to get everything setup and this section really confuses me where do i edit ??

We also need to register our directories with Nginx:
Edit the file /etc/nginx/nginx.conf, and add the following lines:

upstream api {
server 127.0.0.1:8080;
}
Under Location: /, add:

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

Sort:  

Add the upstream wherever you want in the file, and add the location /API directly under the Location: / section that looks similar.