Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Reverse Proxy, basic-basic config.

$
0
0
A IIS server is located on 172.16.16.11 thats host a website on port 80
My Nginx-server is located on 192.168.1.49. (CentOS 7)
The DNS server points to the 192.168.1.49 machine with the A record of www.test.com and test.com that should proxy to 172.16.16.11.

Can someone help me a very basic config? Just want a quick and dirty configuration. Been following some tutorials on the web, even the most basic tuts seems to be to complicated for me. ;-)

Im running this at the moment in my nginx.conf. Only those lines, do I need rest of the config to?

server {
listen 80;
location / {
proxy_pass http://172.16.16.11;
}
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>