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