tinyproxy / tinyproxy

tinyproxy - a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems
GNU General Public License v2.0
4.83k stars 664 forks source link

Feature request: allow upstream proxies to be defined into a separate config file #333

Open wellloaded opened 3 years ago

wellloaded commented 3 years ago

My idea is to populate a files called: lets say: upstream_proxies.conf e.g. parse a config command like:

upstream_list /etc/tiniproxy_upstream_proxies.conf

populated periodically with information from the public lists of free proxies available anywehere in Internet. So I would like to:

and periodically say every 4 hours do the following two actions:

Thanks

rofl0r commented 3 years ago

you can already do that. 1) make a template config, without any upstreams 2) every x hours, cat my.template listofproxies.txt > tinyproxy.conf && kill -s USR1 $tinyproxy_pid