diff --git a/scripts/install b/scripts/install index e52e0f6..9751732 100644 --- a/scripts/install +++ b/scripts/install @@ -90,7 +90,7 @@ sed -i "s@NAMETOCHANGE@$app@g" ../conf/nginx.conf nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf sudo cp ../conf/nginx.conf $nginxconf sudo chown root: $nginxconf -sudo chmod 600 $nginxconf +sudo chmod 644 $nginxconf # Add dedicated php-fpm to be able to upload bigger database sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf diff --git a/scripts/upgrade b/scripts/upgrade index a5d8183..61a3b24 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -56,7 +56,7 @@ sed -i "s@NAMETOCHANGE@$app@g" ../conf/nginx.conf nginxconf=/etc/nginx/conf.d/$domain.d/$app.conf sudo cp ../conf/nginx.conf $nginxconf sudo chown root: $nginxconf -sudo chmod 600 $nginxconf +sudo chmod 644 $nginxconf # Add dedicated php-fpm to be able to upload bigger database sed -i "s@NAMETOCHANGE@$app@g" ../conf/php-fpm.conf