Re: [web2py] Nginx setup not as recommended

2016-04-09 Thread Richard Vézina
Can you review the script to look at what we do there : https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh On Fri, Apr 8, 2016 at 8:22 AM, 'Yan Wong' via web2py-users < web2py@googlegroups.com> wrote: > The web2py Nginx setup page ( > http://web2py.com/books/

[web2py] Nginx setup not as recommended

2016-04-08 Thread 'Yan Wong' via web2py-users
The web2py Nginx setup page (http://web2py.com/books/default/chapter/29/13/deployment-recipes#Nginx) says to specify 'root' directory in two 'location' blocks, one for /xxx/static and one for simply / But this is "bad practice" according to the 2nd recommendation in the Nginx docs https://www