domain.sh 182 B

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