mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-24 02:37:05 +00:00
Added miab_ prefix to individual config files
This commit is contained in:
parent
a5a2c82d66
commit
2572d50411
@ -1,9 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
curl -s -d POSTDATA --user $(</var/lib/mailinabox/api.key): http://127.0.0.1:10222/web/update
|
curl -s -d POSTDATA --user $(</var/lib/mailinabox/api.key): http://127.0.0.1:10222/web/update
|
||||||
cd /etc/nginx/sites-available
|
cd /etc/nginx/sites-available
|
||||||
for f in *
|
for f in miab_*
|
||||||
do
|
do
|
||||||
echo "Processing $f"
|
echo "Processing $f"
|
||||||
ln -s "/etc/nginx/sites-available/$f" "/etc/nginx/sites-enabled/$f"
|
ln -s "/etc/nginx/sites-available/$f" "/etc/nginx/sites-enabled/$f"
|
||||||
done
|
done
|
||||||
rm -f /etc/nginx-sites-enabled/default
|
|
||||||
|
Loading…
Reference in New Issue
Block a user