nystudio107 / nginx-craft

An Nginx virtual host configuration for Craft CMS that implements a number of best-practices.
MIT License
310 stars 37 forks source link

duplicate "client_max_body_size" in somedomain.com.conf #14

Closed raspher closed 6 years ago

raspher commented 6 years ago

"client_max_body_size" directive is duplicate in /etc/nginx/sites-available/somedomain.com.conf:174

# Disable limits on the maximum allowed size of the client request body
 :50  | client_max_body_size 0;
# Misc settings
sendfile off;
:174  | client_max_body_size 100m;
}

so it should be 0 or 100m; ?

khalwat commented 6 years ago

Fixed in https://github.com/nystudio107/nginx-craft/commit/e16537803aef1dbe361d7867d191df589d684169