[web2py] Nginx / Web2py modules dont reload

2015-09-24 Thread Mark Billion
Running w2p on nginx/ubuntu 14.04. When I change a module's code, the changes dont show up when I load the app again (ie a class that returned 2 but now returns 1 still returns 2). Ive turned sendfile off in Nginx and have reloaded the thing over and over. Sometimes it works and sometimes I

Re: [web2py] Nginx + Web2py

2014-03-22 Thread Federico Ferraro
I solved compiling admin app with python 2.6 : python26 -c "import gluon.compileapp; gluon.compileapp.compile_application('applications/admin')" Thanks .. 2014-03-22 6:15 GMT-03:00 Michele Comitini : > seems a problem of python version. > if the app is not compiled you can try removing old .p

Re: [web2py] Nginx + Web2py

2014-03-22 Thread Michele Comitini
seems a problem of python version. if the app is not compiled you can try removing old .pyc floating around find web2py -type f -name '*.pyc' -exec rm -v {} + ; 2014-03-21 21:41 GMT+01:00 Anthony : > Did you try re-recompiling the app? > > -- > Resources: > - http://web2py.com > - http://web2py

[web2py] Nginx + Web2py

2014-03-21 Thread Anthony
Did you try re-recompiling the app? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Gro

[web2py] Nginx + Web2py

2014-03-21 Thread Federico Ferraro
Hi, had a web2py application running with apache2 and everything worked correctly ... At migrate to nginx application works, but when I enter the admin gives me the following error: 'Traceback (most recent call last):\n File "/home/www-data/web2py/gluon/main.py", line 573, in wsgibase\n serve_co

[web2py] nginx web2py http to https rewrite

2013-08-29 Thread lbd
Hi all, I recently setup a site using the nginx web2py ubuntu script. What I want to do is redirect all http traffic to https. In order to do this I tried modifying the /etc/nginx/sites-available/web2py script with a simple rewrite rule: server { listen 80; server_name