Two Problems with proxy_pass to upstream

Dave Cheney dave at cheney.net
Tue Oct 28 16:48:12 MSK 2008


Two things.

1. you probably don't need to pass

>> upstream gcn-ssl { server 74.201.38.2:443 ; server 74.201.39.2:443  
>> backup ; }
>>

if nginx is handling the ssl negotation. Backending to the http port  
is a more accepted pattern.

2.

>> server_name www.gcnpublishing.com ; ssl on ;
Is probably not sufficient, you'll need to configure your private key  
and signed cert as well.

Cheers

Dave

On 29/10/2008, at 12:27 AM, Sean Fulton wrote:

> Yes, that is the problem. The NGINX server you are hitting is  
> supposed to pass the request to an upstream apache server but it  
> isn't.
>
> sean






More information about the nginx mailing list