Linux Nginx as Reverse Proxy KodeKloud



At first login to backup server

Then install httpd annd nginx by running following commands

yum install httpd
yum install epel-release
yum install nginx
Now ,edit the apache config file and Change port and ServerName according to question
Type vi  /etc/httpd/conf/httpd.conf

Listen 6000

Go to ServerName and uncomment by removing # and write


Now save the config and restart httpd

Go to nginx config by typing

vi /etc/nginx/nginx.conf
Edit the config as follows. For reverse proxy add the proxy_pass in location tab like this config image.
 Save it and restart nginx

Now, Go to jump host and copy index.html file 

Now switch to backup server and copy it to httpd document root

Finally move to jump_host and check

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


  1. I adore your websites way of raising the awareness on your readers. vpn free

  2. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work. pandavpn

  3. I like viewing web sites which comprehend the price of delivering the excellent useful resource free of charge. I truly adored reading your posting. Thank you! 翻墙

  4. Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good. vpn 推荐

  5. The answer to both of these questions is usually as follows: the 中国VPN is making money by collecting and selling user data to third parties. One recent news story highlighted how free VPN apps are being used to deliver financial malware.

  6. That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally! source