Skip to content

Commit 7bf3546

Browse files
authored
Update install-ubuntu22.04.sh
1 parent 878dbb1 commit 7bf3546

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trunk/install/install-ubuntu22.04.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ else
106106
sed -i "s:}#added by hustoj::g" /etc/nginx/sites-enabled/default
107107
sed -i "s:php7.4:php$PHP_VER:g" /etc/nginx/sites-enabled/default
108108
sed -i "s|# deny access to .htaccess files|}#added by hustoj\n\n\n\t# deny access to .htaccess files|g" /etc/nginx/sites-enabled/default
109+
sed -i "s|fastcgi_pass 127.0.0.1:9000;|fastcgi_pass 127.0.0.1:9000;\n\t\tfastcgi_buffer_size 256k;\n\t\tfastcgi_buffers 32 64k;|g" /etc/nginx/sites-enabled/default
109110
fi
110111
/etc/init.d/nginx restart
111112
sed -i "s/post_max_size = 8M/post_max_size = 180M/g" /etc/php/$PHP_VER/fpm/php.ini

0 commit comments

Comments
 (0)