Welcome! Log In Create A New Profile

Advanced

can proxy use resolver to forward traffic to https sites?

August 24, 2012 06:29PM
When it happens to be http traffic it works. if you look at the line directive lines,

proxy_pass http://$http_host$uri$is_args$args; // Doesnt work
proxy_pass http://$http_host$uri$is_args$args; // Works

server {
listen 8080;

location / {
resolver 8.8.8.8;
proxy_pass http://$http_host$uri$is_args$args; // Doesn't work
proxy_pass http://$http_host$uri$is_args$args; // Works
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
Subject Author Posted

can proxy use resolver to forward traffic to https sites?

Krishna Guda August 24, 2012 06:29PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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