#!/bin/sh . lib.sh . common.opts load_opts "$1" sed -e "s/\$MASTODON_ADDR/$MASTODON_ADDR/" \ -e "s/\$HOSTNAME/$HOSTNAME/" \ nginx/server.conf > /usr/local/etc/nginx/sites-available/$HOSTNAME