proxy cannot forward https traffic with resolver?

Krishna Guda nginx-forum at nginx.us
Sat Aug 25 03:09:35 UTC 2012


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



More information about the nginx mailing list