gnu-social/docker/nginx/domain.sh

7 lines
182 B
Bash
Executable File

#!/bin/sh
# Can't do sed inplace, because the file would be busy
cat /var/nginx/social.conf | \
sed -r "s/%hostname%/${WEB_DOMAIN}/g;" > \
/etc/nginx/conf.d/social.conf