We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2433924 + e0b4734 commit 6507850Copy full SHA for 6507850
2 files changed
nginx/nginx.conf
@@ -15,6 +15,7 @@ http {
15
tcp_nodelay on;
16
keepalive_timeout 15;
17
types_hash_max_size 2048;
18
+ client_max_body_size 20M;
19
include /etc/nginx/mime.types;
20
default_type application/octet-stream;
21
access_log on;
php-fpm/laravel.ini
@@ -2,3 +2,13 @@ date.timezone=UTC
2
display_errors=Off
3
log_errors=On
4
extension=mongodb.so
5
+
6
+; Maximum amount of memory a script may consume (128MB)
7
+; http://php.net/memory-limit
8
+memory_limit = 128M
9
+; Maximum allowed size for uploaded files.
10
+; http://php.net/upload-max-filesize
11
+upload_max_filesize = 20M
12
+; Sets max size of post data allowed.
13
+; http://php.net/post-max-size
14
+post_max_size = 20M
0 commit comments