#!/bin/bash
set -e

here=$(pwd)

for conf in sites/*/nginx.ssl.conf; do
	domain=$(basename $(dirname "$conf"))
	luan startup/nginx/nginx.ssl.conf.luan $here $domain >$conf
done
