2020-05-06 13:04:59 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-03-20 23:09:50 +00:00
|
|
|
# Can't do sed inplace, because the file would be busy
|
2020-05-06 13:04:59 +01:00
|
|
|
cat /var/nginx/social.conf | \
|
2021-03-24 22:31:43 +00:00
|
|
|
sed -r "s/%hostname%/${WEB_DOMAIN}/g;" > \
|
2020-05-06 13:04:59 +01:00
|
|
|
/etc/nginx/conf.d/social.conf
|