Setting up an Nginx Reverse Proxy
This video describes you how to set up Nginx Reverse Proxy with step by step configuration Guide. Also, Describe Benefits of Nginx in front of Apache Web Server. Like Cacheing, Load Balancing, Log Management etc. Environment Used: Ubuntu 18.04. Also, Applicable for Ubuntu 16.04 LTS. Blog Reference Link: https://www.technhit.in/setting-up-an-nginx-reverse-proxy/ Commands: 1 apt update 2 apt install apache2 3 ufw app list 4 ufw allow 'Apache Full' 5 ufw status 6 nano /etc/apache2/sites-available/000-default.conf 7 nano /etc/apache2/ports.conf 8 service apache2 restart 9 nano /etc/apache2/sites-available/000-default.conf 10 nano /etc/apache2/apache2.conf 12 apt install libapache2-mod-rpaf 13 service apache2 restart 14 apt install nginx 15 systemctl enable nginx.service 16 service nginx restart 17 nano /etc/nginx/proxy_params 23 nano /etc/nginx/sites-available/default 24 service nginx reload 25 nano sites-available/default 26 service nginx reload 27 service nginx restart 28 sudo nginx -t 29 tail -f /var/log/nginx/error.log 30 nano sites-available/default 31 service nginx reload 32 service nginx restart 33 tail -f /var/log/nginx/access.log 34 nano /etc/nginx/proxy_params 35 curl -I 10.0.50.57 36 service nginx stop 37 curl -I 10.0.50.57 38 curl -I 10.0.50.57:8080 39 service nginx restart 40 curl -I 10.0.50.57:8080 41 curl -I 10.0.50.57
Download
0 formatsNo download links available.