Hello!
On 7/9/2016 10:23 PM, bai030805 wrote:
Hi Gurus
My lab environment is
Nginx IP: 192.168.16.206
Four Web Server: 192.168.16.201-204
My nginx.conf is
http {
upstream myapp1 {
server 192.168.16.201;
server 192.168.16.202;
server 192.168.16.203;
server 192.168.16.204;
}
server {
listen 80;
location / {
proxy_pass http://myapp1;
}
}
}
Have you tried using `proxy_redirect off;` under your proxy_pass
configuration?
from web brower, i use http://192.168.16.206 to access the web server. the
web brower redirect "http://192.168.16.206" to "https://myapp1/"
then i got error "myapp1’s server DNS address could not be found." error.
Could you please give me some suggestions about this? thanks so much for
your feedback.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,268209,268209#msg-268209
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx