Enabling internal routing in uWSGI
I had to install uWSGI with pcre support. It solved problem with routing.
To do it I had to install pcre lib(for Ubuntu the package called libpcre3) and reinstall uWSGI then. Since PCRE is already in your system uWSGI will be automatically compiled with pcre support.
There are also points from @tobias.mcnulty comment that also might be useful:
- libpcre3-dev package on Ubuntu also needs to be installed
- afterwards you may want to run
pip install -I --no-cache-dir uwsgi
to reinstall it, otherwise you might just get the same cached wheel. - the error in the logs is
!!! no internal routing support, rebuild with pcre support !!!