nginx as a reverse proxy, forwarding to a squid proxy server
robertelee
nginx-forum at nginx.us
Tue Jan 11 18:36:36 MSK 2011
On Jan 10, 2011, at 11:21 PM, Vivek Gite wrote:
You can connect directly to your proxy server and proxy will connect
to Apache backend.
=-=-=-=-=-=
Perhaps I'm asking the question in the wrong way.
I got nginx to send connections to the internal squid server, but it's
treating it like a normal web server instead of an HTTP proxy. How can I
get nginx to use the proxy as a proxy, instead of a web server?
So when I visit the nginx server, I just get:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: /
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
Generated Mon, 10 Jan 2011 21:31:07 GMT by internal_squid_server
(squid/3.0.STABLE12)
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,165168,165350#msg-165350
More information about the nginx
mailing list