diff --git a/nginx-sample.conf b/nginx-sample.conf index f659c531..80b4744c 100644 --- a/nginx-sample.conf +++ b/nginx-sample.conf @@ -4,6 +4,9 @@ server { index index.php; server_name your-domain.com; + # increase max file upload + client_max_body_size 10M; + location / { try_files $uri $uri/ /index.php; } @@ -22,4 +25,4 @@ server { deny all; return 404; } -} \ No newline at end of file +}