rtfd/readthedocs.org — pull request #219 by eteq (2012-07-12 01:57:16+00:00)
Title: updated app.nginx.conf to prevent 413 error when uploading zipped docs

When uploading a pre-build zipped doc file larger than 1MB to the readthedocs.org site, it currently issues a 413 error because nginx defaults to a client_max_body_size of 1M. This PR fixes the nginx configuration so that it allows 50MB uploads to the readthedocs.org site.

I tested this on a local setup that mirrored the setup shown in http://read-the-docs.readthedocs.org/en/latest/architecture.html#diagram and it fixed the 413 error... although of course I can't test it on the production machines.