Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

nginx proxy_pass hang with OS using https_proxy

$
0
0
Hello,

I have a very simple setup like below, it will pass the request to google, this works fine on my local Linux machine, but when I use it on the OS that setup with system proxy: https_proxy, http:proxy, then It becomes hang, when I'm trying to access http://localhost.
Please help.
server {
listen 80;
server_name localhost;

#access_log /var/log/nginx/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /test {
proxy_pass http://google.com;
}
}

Thanks,
Devon

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>