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;
}
}
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;
}
}