Installing and Configuring NGINX on CentOS



Learn how to install NGINX on CentOS and configure it as a reverse proxy for your Node.js apps.
Final config: https://github.com/Juriy/easyio/blob/master/conf/1-reverse-proxy/nginx/conf.d/nanogram.io.conf

——————
Deploying Node playlist:
https://www.youtube.com/playlist?list=PLQlWzK5tU-gDyxC1JTpyC2avvJlt3hrIh

IMPORTANT
——————
From 2018 and on, the setup in this video will only work if your SELinux is configured correctly (to allow nginx to connect to Node and to read files from home folder). Otherwise you will be getting “Not Found” and “Permission Denied” errors.

Check out this video if that’s what you are experiencing:
https://www.youtube.com/watch?v=HhydNtaLEK0

Comments are closed.