RE: How to make an Ethereum mining pool

You are viewing a single comment's thread from:

How to make an Ethereum mining pool

in ethereum •  7 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;
}

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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