I want to set up nginx as a forward proxy - much like Squid might work.
This is my server block:
server {
listen 3128;
server_name localhost;
location / {
resolver 8.8.8.8;
proxy_pass http://$http_host$uri$is_args$args;
}
}
Hi Maxim,
>
> You are trying to connect to an upstream server with an IPv6
> address, yet your system has no IPv6 addresses configured, so
> the connection attempt fails. This is not fatal, as nginx is able
> to switch to using other addresses of the same server, but
> probably a configura
I use nginx as a forward proxy, with content caching.
My app first performs a HEAD request to a Google Cloud Storage object. Then it
may perform a GET request to the same object.
The HEAD request (which comes first) causes a cache MISS. The content body
length returned to the client is 0 (which