Taking it on the road

You can see this because the VPS is up and running!

VPS is the smallest and cheapest I could find (from a trustworthy provider). The basic setup is nginx + certbot on the VPS for this web interface, with a WireGuard tunnel set up direct to a machine in the “prod” network of my homelab. The machine's running the writefreely service. It'd be rude not to include some code in the first post, so here we go with the systemd unit file:

cat <<EOF | sudo tee /etc/systemd/system/writefreely.service > /dev/null
[Unit]
Description=Write Freely Instance
After=syslog.target network.target

[Service]
User=writefreely
Group=writefreely
Type=simple
StandardOutput=syslog
StandardError=syslog
WorkingDirectory=/etc/writefreely
ExecStart=/usr/local/bin/writefreely
Restart=always

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl enable --now writefreely.service