2 unstable releases

0.1.0 Nov 15, 2024
0.0.0 Oct 12, 2024

#2146 in Network programming

Download history 138/week @ 2024-10-10 16/week @ 2024-10-17 8/week @ 2024-10-31 6/week @ 2024-11-07 114/week @ 2024-11-14 16/week @ 2024-11-21 1/week @ 2024-11-28

131 downloads per month

MIT license

23KB
499 lines

affogato

GitHub license

simple HTTP/HTTPS Proxy

Install

cargo install affogato

Run

affogato -p 3000

Serving (Linux, systemd)

first, move binary to bin directory

sudo mv $HOME/.cargo/bin/affogato /usr/bin/affogato

second, Second, write systemd config. reference

sudo vi /etc/systemd/system/affogato.service

finally, Activate the daemon using systemctl.

sudo systemctl enable affogato
sudo systemctl start affogato

Zero-Downtime Reload (Linux Only)

first server

cargo run 

deploy new server without downtime

pkill -SIGQUIT affogato && cargo run -- -u

Dependencies

~11–22MB
~328K SLoC