Addded client_max_body_size 20M; - prevents 413 errors

Prevents 413 Error. For uploading files.

info: http://www.daveperrett.com/articles/2009/11/18/nginx-error-413-request-entity-too-large/