diff --git a/docker/start.sh b/docker/start.sh index b14dd26..6d9bc89 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -35,9 +35,8 @@ sed -i "s/^post_max_size = .*/post_max_size = ${MAX_UPLOAD_SIZE}/" /etc/php/8.1/ # Set max upload size for nginx sed -i "s/client_max_body_size 500M;/client_max_body_size ${MAX_UPLOAD_SIZE};/" /etc/nginx/nginx.conf -# I don't know how to fix this properly, but it works. -#chmod 777 /run/php/php8.1-fpm.sock - # Start Nginx echo "Starting PHP & Nginx" -/etc/init.d/php8.1-fpm start && nginx -g 'daemon off;' \ No newline at end of file +/etc/init.d/php8.1-fpm start \ +chmod 777 /run/php/php8.1-fpm.sock \ +nginx -g 'daemon off;' \ No newline at end of file