Update build/run/docker-entrypoint/init.d/20-nginx.sh

This commit is contained in:
myve 2025-02-19 23:20:31 +00:00
commit 93abdfbf28

View file

@ -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