Set up reverse proxy and loadbalancing without hostname

bai030805 nginx-forum at
Sat Jul 9 15:23:41 UTC 2016

Hi Gurus

My lab environment is 

Nginx IP:
Four Web Server:

My nginx.conf is 

http { 
    upstream myapp1 { 
    server { 
        listen 80; 
        location / { 
            proxy_pass http://myapp1; 

from web brower, i use to access the web server. the
web brower redirect "" 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:,268209,268209#msg-268209

More information about the nginx mailing list