Welcome! Log In Create A New Profile

Advanced

Re: using nginx as proxy from http to https

Francis Daly
October 25, 2012 12:08PM
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

using nginx as proxy from http to https

mgenov October 25, 2012 10:17AM

Re: using nginx as proxy from http to https

Francis Daly October 25, 2012 12:08PM

Re: using nginx as proxy from http to https

mgenov October 25, 2012 12:20PM

Re: using nginx as proxy from http to https

Andre Jaenisch October 25, 2012 03:04PM

Re: using nginx as proxy from http to https

mgenov October 29, 2012 10:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
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