fix(): increase upload limit

pull/3/head
Hardware 2016-08-08 08:44:17 +02:00
parent eeb4494589
commit 3f00c33a6a
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,7 @@ http {
listen 8080;
root /flarum/app;
index index.php;
client_max_body_size 50M;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log error;

View File

@ -13,3 +13,6 @@ pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
chdir = /
php_admin_value[expose_php] = Off
php_admin_value[post_max_size] = 50M
php_admin_value[upload_max_filesize] = 50M