affogato

Crates.ioaffogato
lib.rsaffogato
version0.1.0
sourcesrc
created_at2024-10-12 16:25:53.149357
updated_at2024-11-15 19:50:19.829439
descriptionsimple HTTP Proxy
homepagehttps://github.com/myyrakle/affogato/blob/master/README.md
repositoryhttps://github.com/myyrakle/affogato
max_upload_size
id1406636
size71,032
myyrakle (myyrakle)

documentation

https://docs.rs/affogato/latest/affogato

README

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
Commit count: 50

cargo fmt