#!/bin/sh

set -eu

hostzone="$1"

cfg_script="$0"
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)

sed -e 's/@hostzone@/'"${hostzone}"'/g' \
	"${cfg_srcdir}/nginx.conf.in"
