1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

update to @konklone's latest nginx SSL configuration recommendations

This commit is contained in:
Joshua Tauberer
2014-04-17 20:27:52 -04:00
parent 04d97a11e9
commit 6fd768d6ee
3 changed files with 48 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ cat conf/nginx.conf \
| sed "s/\$STORAGE_ROOT/$STORAGE_ROOT_ESC/g" \
| sed "s/\$PUBLIC_HOSTNAME/$PUBLIC_HOSTNAME_ESC/g" \
> /etc/nginx/conf.d/local.conf
cp conf/nginx-ssl.conf /etc/nginx/nginx-ssl.conf
# make a default homepage
mkdir -p $STORAGE_ROOT/www/static