Comments (7)
After ./build.sh within www
folder you will have www/dist
folder with static website generated. U must serve it as static website:
location / {
root /path/to/www/dist;
}
Edit your / location properly. if you see "frontend is down" look at js console in browser for errors.
And as i said, don't use ember server ...
in production.
from open-ethereum-pool.
Ok, got it, thank you.
from open-ethereum-pool.
To make it clear, browser will poll api from client side, if you see "frontend down" inspect errors using built in browser development tools, you will see a reason why you can't access API in js console. Api must be available on your.domain/api/stats
. You can even bind api in config to 0.0.0.0 and don't configure nginx upstream for it.
from open-ethereum-pool.
I will try it as soon as I get access to the server again, will reply/close this issue when I fix the problem.
Thanks.
from open-ethereum-pool.
Fixed, Thanks.
from open-ethereum-pool.
Hello,
i have some Problems with the API in the ngnix.conf too. I don't know, if i configured it correct.
Here is the part of the config-file:
server {
listen 80;
server_name Sub.domainname.com;
}
upstream api {
server 127.0.0.1:8080;
}
location /api {
proxy_pass http://api;
}
location / {
proxy_pass http://localhost:8082;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
# Enables WS support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;
root _/home/user/open-ethereum-pool/www/dist;_
}
Is that correct?
For the configuration as a subdomain i must link in the Apache-Server to the Folder _/home/user/open-ethereum-pool/www/dist , is that correct?
Thank you very much.
Best regards
Zimbo
from open-ethereum-pool.
@mmitech can you please tell how did you fix it? I'm having exactly the same issue as you did.
from open-ethereum-pool.
Related Issues (20)
- connect to other pool HOT 1
- 承接直接搭建等 技术问题 联系我:ETH/ETC等矿池问题 QQ:290756156 微信号:khpool
- 需要帮助搭建该程序ETH/ETC矿池的联系微信:xserverx
- 有偿找技术帮助我搭建ETH矿池平台 HOT 5
- 搭建ETH ETC矿池1000一次有偿服务
- nope
- Some problems...
- problem HOT 1
- compiling issues HOT 2
- Mining other coin HOT 1
- ask a question HOT 3
- 承接直接搭建等 技术问题 联系我:ETH/ETC等矿池问题 QQ:290756156 微信号:khpool
- Need help with make HOT 2
- Can this be compiled on Windows Server w/ Mingw-w64?
- add go.mod
- Cannot make HOT 1
- Installing ubuntu 20.04 web interface HOT 1
- Doesn't compile.
- Ethereum Fair - Pool Incompatible
- > Spent a couple of days and have open-etbtchereum-pool installed on a server. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-ethereum-pool.