It needs something like
client_max_body_size 100M;
in nginx.conf to avoid error: 413 Request Entity Too Large
(for example, try to install app with > 6mb or upload big file)

On 28 мар, 01:53, Massimo Di Pierro <[email protected]>
wrote:
> Let me know when you think this is a ready for inclusion. I agree with
> Anthony, it would be a valuable addition to scrips/
>
> On Mar 27, 2:29 pm, pbreit <[email protected]> wrote:
>
>
>
>
>
>
>
> > I did a little more work on a setup script for Ubuntu + Nginx + uWSGI.
> > Please let me know if you experience any problems or have any suggestions.
> > I'm fairly new to this.
>
> > + Tested on Ubuntu 10.04 (Rackspace Cloud)
> > + Nginx 0.8.54
> > + SSL (self-signed)
> > + uWSGI 0.9.7.1
> > + Postgres 8.4
> > + Web2py Current
> > + user=www-data
> > + Hosted at BitBucket:https://bitbucket.org/pbreit/web2py-automation/src/
>
> > $
> > wgethttp://bitbucket.org/pbreit/web2py-automation/raw/tip/setup-ubuntu-ng...
> > $ chmod +x setup-ubuntu-nginx.sh
> > $ sudo ./setup-ubuntu-nginx.sh
>
> > Note: the script runs almsot unattended. The only user input required is
> > specifying web2py admin password.

Reply via email to