#!/hint/bash -euE # Copyright (C) 2024 Umorpha Systems # SPDX-License-Identifier: AGPL-3.0-or-later load_module "$(dirname -- "${BASH_SOURCE[0]}")/base-nginx.sh" post_install+=(20:mothstuff-apex:post_install) mothstuff-apex:post_install() { local arg_mountpoint=$1 install -Dm644 /dev/stdin "$arg_mountpoint/etc/nginx/sites/mothstuff_apex.conf" <<-'EOF' # -*- mode: nginx; nginx-indent-level: 4; intent-tabs-mode: nil -*- server { server_name mothstuff.lol; include /etc/nginx/snippets/listen.conf; error_log /var/log/nginx/main-error.http.mothstuff_lol.log error; root /srv/http/mothstuff.lol; } EOF install -Dm644 /dev/stdin "$arg_mountpoint/srv/http/mothstuff.lol/index.html" <<'EOF'
The mothstuff.lol domain is used by Umorpha Systems for things we don't want under the main umorpha.io domain.
Servers:
Services:
Copyright (C) 2024 Umorpha Systems
EOF }