Hacker News new | ask | show | jobs
by jordanmessina 5719 days ago
It's quite easy. Install nginx, update the config file, generally found in '/etc/nginx/sites-enabled/'

There are plenty of good nginx config examples out there, but to use it as a reverse proxy you want to do something like: location / { proxy_pass http://127.0.0.1:8080/; }

You also need to change your ports.conf file for apache to make it run on a different port if you want nginx running on port 80.