fix(): increase upload limit
parent
eeb4494589
commit
3f00c33a6a
|
@ -50,6 +50,7 @@ http {
|
||||||
listen 8080;
|
listen 8080;
|
||||||
root /flarum/app;
|
root /flarum/app;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
client_max_body_size 50M;
|
||||||
|
|
||||||
access_log /var/log/nginx/access.log;
|
access_log /var/log/nginx/access.log;
|
||||||
error_log /var/log/nginx/error.log error;
|
error_log /var/log/nginx/error.log error;
|
||||||
|
|
|
@ -13,3 +13,6 @@ pm.start_servers = 2
|
||||||
pm.min_spare_servers = 1
|
pm.min_spare_servers = 1
|
||||||
pm.max_spare_servers = 3
|
pm.max_spare_servers = 3
|
||||||
chdir = /
|
chdir = /
|
||||||
|
php_admin_value[expose_php] = Off
|
||||||
|
php_admin_value[post_max_size] = 50M
|
||||||
|
php_admin_value[upload_max_filesize] = 50M
|
||||||
|
|
Loading…
Reference in New Issue