I have an nginx web server with two ip addresses. I want to connect to two
upstream servers, where one upstream is configured to use one of the ip
addresses and the other upstream is configured to use the second ip address.
Is this possible?
Michael Power
_
On 11 Nov 2016, at 22:13, Dave Hayes wrote:
> On 11/11/2016 10:49, Igor Sysoev wrote:
>> Yes, *:443 matches all addresses except explicitly specified in listen
>> directives with the same port 443.
>
> Ah! Thank you very much! This statement cleared up my confusion. I didn't see
> this stateme
On 11/11/2016 10:49, Igor Sysoev wrote:
Yes, *:443 matches all addresses except explicitly specified in listen
directives with the same port 443.
Ah! Thank you very much! This statement cleared up my confusion. I
didn't see this statement in any documentation, but I could have missed it.
C
On 11 Nov 2016, at 20:29, Dave Hayes wrote:
> On 11/11/2016 00:02, Igor Sysoev wrote:
>> Please read this:
>> http://nginx.org/en/docs/http/request_processing.html#mixed_name_ip_based_servers
>
> Thanks very much for your reply. I have read this before, but maybe I missed
> something. In readin
Thanks Francis, that is an interesting approach (with a map). Will give it a
try. And good point on only allowing pre-defined patterns to be passed from
arg to root.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,270868,270882#msg-270882
___
On 11/11/2016 00:02, Igor Sysoev wrote:
Please read this:
http://nginx.org/en/docs/http/request_processing.html#mixed_name_ip_based_servers
Thanks very much for your reply. I have read this before, but maybe I
missed something. In reading it again like you asked, I see this paragraph:
"In th
On Fri, Nov 11, 2016 at 08:30:06AM +, Francis Daly wrote:
> On Thu, Nov 10, 2016 at 06:46:10PM -0500, ulik wrote:
Hi there,
> > # root when path query arg is present
> > if ($arg_path) {
> > root /var/www/example/$arg_path;
> > }
> You can use "map" to set a variable, and
On Thu, Nov 10, 2016 at 06:46:10PM -0500, ulik wrote:
Hi there,
> Here is what I want to do, in nginx conf language:
> # root when path query arg is present
> if ($arg_path) {
> root /var/www/example/$arg_path;
> }
>
> # root when path query arg is not present (defau
I was build nginx for window on linux. (compiler: x86_64-w64-mingw32-gcc)
and build succeeded.
but It does not work on any request.. as if it hang status...
I was checked function ngx_http_wait_request_handler in ngx_http_request.c on
windows gdb.
One unique feature is th
On 11 Nov 2016, at 05:30, Dave Hayes wrote:
> Hello. :) Please consider the following nginx setup:
>
> server {
> # server 1
> listen 443 default_server ssl;
> server_name "";
> ...
> return 444;
> }
>
> server {
> # server 2
> listen 127.0.0.81:443 default_server ssl;
> server_
10 matches
Mail list logo