gnu-social/docker/nginx/domain.sh

6 lines
154 B
Bash
Executable File

#!/bin/sh
cat /var/nginx/social.conf | \
sed -r "s/%hostname%/$domain/g; s/%hostname_root%/$domain_root/g" > \
/etc/nginx/conf.d/social.conf