https://swiperproxy.github.io/
SwiperProxy runs on efficient Python code to run a self-containing, minimalist webserver. Prefer your own? SwiperProxy plays well and scales with major webservers including Apache, Nginx and Varnish
Only 25 lines of well-documented configuration are needed to run SwiperProxy, yet is fully featured supporting HTTP, HTTPS, blocklists, URL rewrites, logging and more.