Re: Set up reverse proxy and loadbalancing without hostname

2016-07-09 Thread Pratyush Kumar
Hi there try this 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/; proxy_set_header Host $host; #proxy_redirect https://myapp1/ http://$host/; } } } Bas

Re: Set up reverse proxy and loadbalancing without hostname

2016-07-09 Thread Francis Daly
On Sat, Jul 09, 2016 at 11:23:41AM -0400, bai030805 wrote: Hi there, > Nginx IP: 192.168.16.206 > Four Web Server: 192.168.16.201-204 Is there one Host: header that you can send in requests to each of the four web servers, so that they will all return the content that you want? If so, use that.

Re: Set up reverse proxy and loadbalancing without hostname

2016-07-09 Thread Dewangga Alam
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

Set up reverse proxy and loadbalancing without hostname

2016-07-09 Thread bai030805
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 {

AW: Issue with HTTP/2 and async file upload from Safari on iOS

2016-07-09 Thread Lukas Tribus
> Any solution other than switching to > https://launchpad.net/~nginx/+archive/ubuntu/development (wich scares the > skull out of me, since this is a production server)? Use nginx provided binaries if compiling from source is not an option: http://nginx.org/en/linux_packages.html#mainline ___