2 unstable releases

0.1.0 Nov 15, 2024
0.0.0 Oct 12, 2024

#2186 in Network programming

Download history 14/week @ 2024-10-18 10/week @ 2024-11-01 4/week @ 2024-11-08 116/week @ 2024-11-15 14/week @ 2024-11-22 1/week @ 2024-11-29

101 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

~10–22MB
~308K SLoC