Welcome! Log In Create A New Profile

Advanced

proxy cannot forward https traffic with resolver?

August 24, 2012 11:09PM
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
}
Subject Author Posted

proxy cannot forward https traffic with resolver?

Krishna Guda August 24, 2012 11:09PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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