# Proxy cannot forward https traffic with resolver?

**URL:** <https://www.ruby-forum.com/t/proxy-cannot-forward-https-traffic-with-resolver/222371>\
**Category:** NGINX\
**Created:** [August 27, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/proxy-cannot-forward-https-traffic-with-resolver/222371 "2012-08-27T14:01:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 27, 2012, 2:01pm UTC](https://www.ruby-forum.com/t/proxy-cannot-forward-https-traffic-with-resolver/222371/1 "2012-08-27T14:01:11Z")

</div>

# 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:

> **[proxy cannot forward https traffic with resolver?](https://forum.nginx.org/read.php?2,230114,230114#msg-230114)**
>
> 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...
