Skip to content

Apache 2: Reverse Proxy

Marvin Menzerath edited this page Jun 11, 2018 · 1 revision

In case you want to server users who have strong firewall restrictions and cannot access the default API Port 8080, you can use your apache webserver with mod_proxy to redirect the API calls from port tcp/80 to the API Port. Add these lines to your apache config and restart apache:

ProxyPass "/api" "http://YOURNODEURL:8080"
ProxyPassReverse "/api" "http://YOURNODEURL:8080"

The file defaultUrls.json has to be adapted by

{
    "api": "http://YOURWEBSERVERURL/api",
    ...
}
Clone this wiki locally