Proxy cannot forward https traffic with resolver?

Sorry, there was a typo in the previous question. I couldn’t delete the
previous one. Hence posting again.

When it happens to be http traffic proxy server works but doesn’t work
for
the https. I pasted both the sevrer configurations below. Please look at
proxy_pass directive.

server {
listen 8080;

location / {
resolver 8.8.8.8;
proxy_pass https://$http_host$uri$is_args$args; // Works
}

server {
listen 8090;

location / {
resolver 8.8.8.8;
proxy_pass https://$http_host$uri$is_args$args; // Doesn’t work
}

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,230114,230114#msg-230114

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs