mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-04 15:54:48 +01:00
use tools/editconf.py to edit php.ini for large file uploads
This commit is contained in:
@@ -68,12 +68,6 @@ server {
|
||||
location ~ ^(.+?\.php)(/.*)?$ {
|
||||
try_files $1 = 404;
|
||||
|
||||
# PHP specific configuration to deal with large file uploads
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize = 16G";
|
||||
fastcgi_param PHP_VALUE "post_max_size = 16G";
|
||||
fastcgi_param PHP_VALUE "output_buffering = 16384";
|
||||
fastcgi_param PHP_VALUE "memory_limit = 512M";
|
||||
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$1;
|
||||
fastcgi_param PATH_INFO $2;
|
||||
|
||||
Reference in New Issue
Block a user