image server with nginx and uWSGI protocol
aim
- The HTTP front-end lighttpd running FastCGI is not working with python3, since the module
gluon/contrib/gateways/fcgi.py
is not running with python3 - A possible workaround is to migrate to Nginx running the uWSGI protocol:
- Reference:
uwsgi is not working
- This approach is not working with alpine 3.10.3 and python3 installed via miniconda, since uwsgi used a dedicated library pointing to python3 from the distribution.
- This might work with alpine:2019114 or later version since matplotlib and pandas are available as package. This new release work with python3.8 but it is not yet the case for web2py.
alternative
- A simpler approach is to use Nginx speaking web2py via gunicorn (WSGI protocol)
Edited by LE GAC Renaud