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

This commit is contained in:
myve 2025-03-05 03:11:15 +00:00
commit 64f2cdaf40

View file

@ -38,8 +38,8 @@ 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*")
# Port
sed "s/{{MYVEMAIL_PORT}}/${MYVEMAIL_PORT:-80}/" -i $(find /etc/nginx -type f -name "default*")
# Start services
/usr/sbin/php-fpm* -D