Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there any free, light-weight, single-process (e.g. multi-threaded, asyncore) HTTP forward proxy software?

Tinyproxy works great, but it uses multiple processes like (Apache's) prefork. HAProxy and nginx are reverse proxies don't seem to have forward proxy functions. Squid is huge...

share|improve this question
Any chance you'd post your "hacky config" for using nginx as a forward proxy? I'm trying to do something similar. – Kevin May 17 '12 at 16:59
Inside the server block: location / { proxy_pass $scheme://$http_host$request_uri; } – netvope May 17 '12 at 21:04
Won't quite work for my present situation, but that's a clever trick I will try to remember. Thanks. – Kevin May 18 '12 at 14:43
The question is really: what is bad about multiple processes? Functionality-wise, it should not make a big difference, and tinyproxy's memory footprint is really small. – Michael Adam Jan 3 at 11:58
up vote 4 down vote accepted

Privoxy is a "non-caching web proxy with advanced filtering capabilities". But... What is wrong with using multiple processes? Due to the nature of how processes/threads are created on Linux (and some unixes) there's not much difference between a software that uses many children processes or threads...

If your concern is resource usage, you can tune tinyproxy much like apache (Min servers, min spare servers, max servers, etc...).

share|improve this answer
I ended up using nginx as a forward proxy with some hacky config. Thanks for you answer though :) – netvope Oct 18 '10 at 15:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.