This commit is contained in:
parent
8e18e29b26
commit
28dd26e873
@ -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;'
|
||||
/etc/init.d/php8.1-fpm start \
|
||||
chmod 777 /run/php/php8.1-fpm.sock \
|
||||
nginx -g 'daemon off;'
|
Loading…
x
Reference in New Issue
Block a user