From 93abdfbf28aa49049a2a4386f88837175a32d21c Mon Sep 17 00:00:00 2001 From: myve Date: Wed, 19 Feb 2025 23:20:31 +0000 Subject: [PATCH] Update build/run/docker-entrypoint/init.d/20-nginx.sh --- build/run/docker-entrypoint/init.d/20-nginx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/run/docker-entrypoint/init.d/20-nginx.sh b/build/run/docker-entrypoint/init.d/20-nginx.sh index 2b6c6a1..9901131 100755 --- a/build/run/docker-entrypoint/init.d/20-nginx.sh +++ b/build/run/docker-entrypoint/init.d/20-nginx.sh @@ -38,6 +38,9 @@ chown ${MYVEMAIL_NGINX_USERGROUP}:${MYVEMAIL_NGINX_USERGROUP} /usr/share/webapps chown ${MYVEMAIL_NGINX_USERGROUP}:${MYVEMAIL_NGINX_USERGROUP} /usr/share/webapps/roundcube/plugins/password/config.inc.php chmod 0600 /usr/share/webapps/roundcube/plugins/password/config.inc.php +# Port +sed "s/{{MYVEMAIL_PORT}}/${MYVEMAIL_PORT:-80}/" -i $(find /etc/nginx -type f -name "default*") + # Start services /usr/sbin/php-fpm* -D nginx