1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00

Increase default client_max_body_size and post_max_size to 512M

This commit is contained in:
Chris Brown
2020-03-03 14:31:55 -05:00
parent 30e28614f4
commit ff9edb9cf8
3 changed files with 8 additions and 5 deletions

View File

@@ -12,7 +12,8 @@ http {
sendfile on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 128M;
client_max_body_size 512M;
server_names_hash_bucket_size 128;

View File

@@ -2,7 +2,9 @@
memory_limit = 512M
;The maximum size of an uploaded file.
upload_max_filesize = 128M
upload_max_filesize = 512M
;Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize
post_max_size = 128M
; Sets max size of post data allowed.
; Changes to this will also need to be reflected in Nginx with client_max_body_size
; This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize
post_max_size = 512M

View File

@@ -9,7 +9,7 @@ server {
server_name VALET_SITE www.VALET_SITE *.VALET_SITE;
root /;
charset utf-8;
client_max_body_size 128M;
client_max_body_size 512M;
http2_push_preload on;
location /VALET_STATIC_PREFIX/ {