cubedro / eth-netstats

Ethereum Network Stats
https://ethstats.net/
GNU General Public License v3.0
854 stars 540 forks source link

"Private" EthStat behind proxy - empty portal #290

Closed wawrzek closed 8 years ago

wawrzek commented 8 years ago

I have ethstats for local cluster running on port 3000. Now I try to add a proxy on port 80 it can be visible without opening extra firewall holes.

Currently I'm trying Apache. With following configuration I see full, but empty interface. Any hints welcome.


ProxyRequests off
<Proxy *>
    Require all granted
</Proxy>
ProxyPass / http://localhost:3000/
ProxyPassReverse /  http://localhost:3000/
<Location />
    Require all granted
</Location>
cubedro commented 8 years ago

The proxy has to support Connection Upgrade. Here's a gist of the nginx config I used for ethstats.net

wawrzek commented 8 years ago

Thanks for response. After small modification (replacing 'root') it works for me.

Wawrzek

On 7 April 2016 at 20:11, Marian OANCΞA notifications@github.com wrote:

The proxy has to support Connection Upgrade. Here's a gist https://gist.github.com/cubedro/81fd017886e3cc14d302 of the nginx config I used for ethstats.net

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/cubedro/eth-netstats/issues/290#issuecomment-207053564

Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124