feat(Laravel): Setting php.ini values in php-fpm.conf (#42)

This commit is contained in:
Tom Hatzer
2025-06-18 12:44:33 +02:00
committed by GitHub
parent 4f3ae2e999
commit 6da72458b6
2 changed files with 4 additions and 4 deletions

View File

@@ -97,6 +97,8 @@ pm.min_spare_servers = 4
pm.max_spare_servers = 32
pm.start_servers = 18
clear_env = no
php_admin_value[post_max_size] = 35M
php_admin_value[upload_max_filesize] = 30M
'''
"nginx.template.conf" = '''
@@ -166,8 +168,6 @@ http {
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include $!{nginx}/conf/fastcgi_params;
include $!{nginx}/conf/fastcgi.conf;
fastcgi_param PHP_VALUE "upload_max_filesize=30M \n post_max_size=35M";
}
location ~ /\.(?!well-known).* {