Thank you. problem fixed.
The line in the guide I followed to set up nginx
ttps://www.digitalocean.com/community/tutorials/how-to-deploy-web2py-python-applications-with-uwsgi-and-nginx-on-ubuntu-14-04
in particular
location ~* /(\w+)/static/ {
root /home/user/myapp/applications/;
}
Was wrong.
This is discussed in
https://stackoverflow.com/questions/36720259/web2py-nginx-do-i-have-to-set-up-static-folder
The first sentence in the answer is the clue. That line bypasses web2py.
Thank you both for the help. This was driving me nuts.
On Tuesday, March 27, 2018 at 8:06:22 AM UTC+13, Leonel Câmara wrote:
>
> Probably a wrong nginx config not serving the admin's static files
> correctly.
>
--
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 Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.