outpost
This service keeps a map of hosts and does 307 redirect to the new host.
Build
cargo b --release
Running with systemd
[Unit]
Description=Outpost
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/root/outpost
WorkingDirectory=/root
Restart=always
RestartSec=5
User=root
[Install]
WantedBy=multi-user.target
Description
Languages
Rust
100%