From c1c845e8ce34b263f0be5f91b20719def3777fed Mon Sep 17 00:00:00 2001 From: Ahmed Date: Sun, 14 Jun 2026 20:31:27 +0300 Subject: fix: 404 page, pgp cgi script, and other varios vibed fixes --- hooks/post-receive | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hooks') diff --git a/hooks/post-receive b/hooks/post-receive index 13e562e..3ecfd11 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -29,7 +29,12 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f esac mkdir -p "$WEBROOT/fonts" rsync -rlptD fonts/ "$WEBROOT/fonts/" + cp _shared/404.html "$WEBROOT/404.html" fi done +# 404 page for sites outside this hook +cp _shared/404.html /var/www/gumx.cc/404.html +cp _shared/404.html /usr/share/webapps/cgit/404.html + echo "sites deployed" -- cgit v1.2.3