Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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

1 Answer 1

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

 
discard

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.