mirror of
https://mau.dev/andreijiroh.dev/website
synced 2024-09-13 13:03:29 +00:00
Andrei Jiroh Halili
edd3a98042
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>
9 lines
236 B
Bash
9 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"
|
|
|