mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +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>
8 lines
236 B
Bash
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"
|
|
|