I’m trying to use nginx as a proxy server that should dispatch HTTP
requests
to remote HTTPS server. Here are some configuration details which I’m
using:
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. Some additional details that I can provide is that
the
remote server is using basic authorization and only accepts requests
through
HTTPS.
I also tried to bind server on port 443 with ssl on and certificates
added,
but when I try to use it, I get the following error:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify
failed
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?