mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
feat(Laravel): Setting php.ini values in php-fpm.conf (#42)
This commit is contained in:
@@ -97,6 +97,8 @@ pm.min_spare_servers = 4
|
|||||||
pm.max_spare_servers = 32
|
pm.max_spare_servers = 32
|
||||||
pm.start_servers = 18
|
pm.start_servers = 18
|
||||||
clear_env = no
|
clear_env = no
|
||||||
|
php_admin_value[post_max_size] = 35M
|
||||||
|
php_admin_value[upload_max_filesize] = 30M
|
||||||
'''
|
'''
|
||||||
|
|
||||||
"nginx.template.conf" = '''
|
"nginx.template.conf" = '''
|
||||||
@@ -166,8 +168,6 @@ http {
|
|||||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
include $!{nginx}/conf/fastcgi_params;
|
include $!{nginx}/conf/fastcgi_params;
|
||||||
include $!{nginx}/conf/fastcgi.conf;
|
include $!{nginx}/conf/fastcgi.conf;
|
||||||
|
|
||||||
fastcgi_param PHP_VALUE "upload_max_filesize=30M \n post_max_size=35M";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /\.(?!well-known).* {
|
location ~ /\.(?!well-known).* {
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ pm.min_spare_servers = 4
|
|||||||
pm.max_spare_servers = 32
|
pm.max_spare_servers = 32
|
||||||
pm.start_servers = 18
|
pm.start_servers = 18
|
||||||
clear_env = no
|
clear_env = no
|
||||||
|
php_admin_value[post_max_size] = 35M
|
||||||
|
php_admin_value[upload_max_filesize] = 30M
|
||||||
'''
|
'''
|
||||||
|
|
||||||
"nginx.template.conf" = '''
|
"nginx.template.conf" = '''
|
||||||
@@ -166,8 +168,6 @@ http {
|
|||||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
include $!{nginx}/conf/fastcgi_params;
|
include $!{nginx}/conf/fastcgi_params;
|
||||||
include $!{nginx}/conf/fastcgi.conf;
|
include $!{nginx}/conf/fastcgi.conf;
|
||||||
|
|
||||||
fastcgi_param PHP_VALUE "upload_max_filesize=30M \n post_max_size=35M";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /\.(?!well-known).* {
|
location ~ /\.(?!well-known).* {
|
||||||
|
|||||||
Reference in New Issue
Block a user