Skip to content

Running MHN Behind a Web Proxy

Jason Trost edited this page Aug 21, 2015 · 2 revisions

I believe you set the proxy server by editing this file: /etc/environment and adding the section below (replace REAL_PROXY_SERVER_HOST_AND_PORT with your actual proxy server).

PROXY=http://REAL_PROXY_SERVER_HOST_AND_PORT
export http_proxy=$PROXY
export https_proxy=$PROXY
export HTTP_PROXY=$PROXY
export HTTPS_PROXY=$PROXY
export no_proxy="localhost,127.0.0.1,127.0.1.1"

After you do this, I think you will need to do the following:

sudo supervisorctl stop all
sudo /etc/init.d/supervisord restart

OR reboot the box.