darkwrat / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Feature Request: Customizable URL #721

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if a custom url could be given for the web server side of the 
application. This way a server could proxy the connection using a custom uri 
instead of limiting it to needing to use a sub-domain.

Currently if you try to do this it will not work as the resources loaded by the 
page refer to the root of the given URI.

Example:
http://127.0.0.1:8085/serverstats

Original issue reported on code.google.com by eldon.mc...@gmail.com on 27 Jul 2015 at 5:19

GoogleCodeExporter commented 9 years ago
please close this, tha answer is to just use a reverse proxy. 

Nginx example:

location /stats/ {
  proxy_pass http://127.0.0.1:8085/;
}

- I really should not post without having a cup of coffee first!

Original comment by eldon.mc...@gmail.com on 9 Aug 2015 at 6:21