Added client_max_body_size 20M;

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