Welcome! Log In Create A New Profile

Advanced

Set up reverse proxy and loadbalancing without hostname

July 09, 2016 11:23AM
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;
}
}
}

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.
Subject Author Posted

Set up reverse proxy and loadbalancing without hostname

bai030805 July 09, 2016 11:23AM

Re: Set up reverse proxy and loadbalancing without hostname

dewanggaba July 09, 2016 11:30AM

Re: Set up reverse proxy and loadbalancing without hostname

Francis Daly July 09, 2016 12:28PM

Re: Set up reverse proxy and loadbalancing without hostname

Pratyush Kumar July 09, 2016 01:54PM

Re: Set up reverse proxy and loadbalancing without hostname

bai030805 July 10, 2016 10:41AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready