# HG changeset patch # User Oleksandr Gavenko # Date 1679177739 -7200 # Node ID 240cb9b244aa6764edfd2e8386ece7eb3f0b7d93 # Parent f497bf96ddc3f08658409e0262e6d1f9c9d9b639 Added "tips" site registration. diff -r f497bf96ddc3 -r 240cb9b244aa deb/lighttpd-register-tips.bash --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deb/lighttpd-register-tips.bash Sun Mar 19 00:15:39 2023 +0200 @@ -0,0 +1,13 @@ +#!/bin/bash + +mkdir -p /srv/www/tips +chown user:user /srv/www/tips + +cat <<'EOF' >/etc/lighttpd/conf-available/92-tips.conf +$HTTP["host"] == "tips.defun.work" { + server.document-root = "/srv/www/tips/" +} +EOF + +lighttpd-enable-mod tips +