Another important point is that squid must be configured as a transparent (intercepting) proxy for this to work properly and the Host header must be forwarded to squid (that's done by including the proxy_params file). I've attached my full squid config, just in case someone would need an out-of-the-box solution.by kissg1988 - How to...
For those who are looking for a working solution: I could solve this by installing a basic squid server and setting up nginx to simply forward requests to squid. Here's the nginx config I use now: ******************************************************** include proxy_params; upstream squid { server 127.0.0.1:3128; } # simple forwarding proxy facing the clients server {by kissg1988 - How to...
Hi, I'd like to use nginx 1.2.1 as a filtering & caching proxy on my Raspberry Pi. Filtering domain names and URLs is easy but I could not find a way to filter contents by their MIME type. To be a little bit more specific, I want to deny clients to download or watch multimedia contents (MIME types: audio/*, video/*). In order to achieve this, I created a mapping like this: map $sent_hby kissg1988 - How to...