website/start-caddy-tildeserv.sh
Andrei Jiroh Halili edd3a98042
Update content on keys and stuff
Also in this commit I officially added the script
that handles the stuff on the vern side of things
regarding reverse proxy.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-01-19 11:35:32 +00:00

8 lines
236 B
Bash

#!/usr/bin/env bash
set -xe
if [ -f "$HOME/.webserver.sock" ]; then
rm -f "$HOME/.webserver.sock" || true
fi
exec /run/current-system/sw/bin/nix-shell --command "caddy run -config vern.Caddyfile -adapter caddyfile --watch --resume"