Skip to content

Commit dbf7e77

Browse files
authored
Merge pull request jguyomard#7 from tonyyb/feature/nginx-client-body-size
Adding client_max_body_size to NGINX conf
2 parents 4180dca + 3a1ac37 commit dbf7e77

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nginx/1.13/vhost.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ server {
22
listen 80;
33
index index.php index.html;
44
root /var/www/public;
5+
client_max_body_size 32M;
56

67
location / {
78
try_files $uri /index.php?$args;
@@ -15,4 +16,4 @@ server {
1516
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
1617
fastcgi_param PATH_INFO $fastcgi_path_info;
1718
}
18-
}
19+
}

0 commit comments

Comments
 (0)