Can you not just tunnel it? Like on Machine A:
ssh -L 8080:127.0.0.1:8080 machineB And on your local machine: ssh -L 80:127.0.0.1:8080 machineA And then simply open http://localhost/ that will show up the spark ui running on machineB. People at digitalOcean has made wonder article on how to setup reverse proxy with Apache server https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension, You can have a look at that too. Thanks Best Regards On Thu, Sep 17, 2015 at 2:36 PM, Renato Perini <[email protected]> wrote: > Hello! > I'm trying to set up a reverse proxy (using nginx) for the Spark Web UI. > I have 2 machines: > 1) Machine A, with a public IP. This machine will be used to access > Spark Web UI on the Machine B through its private IP address. > 2) Machine B, where Spark is installed (standalone master cluster, 1 > worker node and the history server) not accessible from the outside. > > Basically I want to access the Spark Web UI through my Machine A using the > URL: > http://machine_A_ip_address/spark > > Any advised setup for Spark Web UI + nginx? > > Thank you. > > >
