Don't break DAV

This commit is contained in:
andryyy
2019-02-26 22:13:37 +01:00
parent 5cef6b92be
commit 38911034c3
2 changed files with 21 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ services:
- phpfpm
sogo-mailcow:
image: mailcow/sogo:1.53
image: mailcow/sogo:1.54
build: ./data/Dockerfiles/sogo
environment:
- DBNAME=${DBNAME}
@@ -168,7 +168,7 @@ services:
- sogo
dovecot-mailcow:
image: mailcow/dovecot:1.64
image: mailcow/dovecot:1.65
build: ./data/Dockerfiles/dovecot
cap_add:
- NET_BIND_SERVICE
@@ -268,8 +268,9 @@ services:
command: /bin/sh -c "envsubst < /etc/nginx/conf.d/templates/listen_plain.template > /etc/nginx/conf.d/listen_plain.active &&
envsubst < /etc/nginx/conf.d/templates/listen_ssl.template > /etc/nginx/conf.d/listen_ssl.active &&
envsubst < /etc/nginx/conf.d/templates/server_name.template > /etc/nginx/conf.d/server_name.active &&
. /etc/nginx/conf.d/templates/sogo.auth_request.template.sh > /etc/nginx/conf.d/sogo.active &&
envsubst < /etc/nginx/conf.d/templates/sogo.template >> /etc/nginx/conf.d/sogo.active &&
. /etc/nginx/conf.d/templates/sogo.auth_request.template.sh > /etc/nginx/conf.d/sogo_main.active &&
envsubst < /etc/nginx/conf.d/templates/sogo.template >> /etc/nginx/conf.d/sogo_main.active &&
envsubst < /etc/nginx/conf.d/templates/sogo.template >> /etc/nginx/conf.d/sogo_dav.active &&
envsubst < /etc/nginx/conf.d/templates/sogo_eas.template > /etc/nginx/conf.d/sogo_eas.active &&
nginx -qt &&
until ping phpfpm -c1 > /dev/null; do sleep 1; done &&