[DOCKER][MAIL] Update config and change the way mail docker handles it, so the edits aren't visible from the outside, polluting the git staging area

This commit is contained in:
2021-03-24 22:31:43 +00:00
parent 0a15ccab9b
commit 349df02f78
17 changed files with 149 additions and 201 deletions

View File

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