using nginx as proxy from http to https

Francis Daly francis at daoine.org
Thu Oct 25 16:06:48 UTC 2012


On Thu, Oct 25, 2012 at 10:17:08AM -0400, mgenov wrote:

Hi there,

>         location /test_server {
>                 proxy_pass     
> https://testserver.testdomainserver.com:9090/;
>                 proxy_set_header  X-Real-IP  $remote_addr;
>         }
> 
> The problem is that when I send request to the nginx server I get 505 error
> from remote server. If I execute the request directly to the remote server
> it works as expected.

HTTP 505 means HTTP Version Not Supported.

What version do you use when you execute the request directly?

What version does nginx use?

Do you see a different response from

curl -i -k https://testserver.testdomainserver.com:9090/

and

curl -i -k -0 https://testserver.testdomainserver.com:9090/

?

Good luck,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list