如何在heroku上实现对uwsgi的路由支持?
我正在使用uwsgi在heroku上提供我的应用程序。部署时似乎不支持路由,因为不知何故uwsgi构建时没有regex功能。日志上写着:如何在heroku上实现对uwsgi的路由支持?,heroku,pip,pcre,uwsgi,buildpack,Heroku,Pip,Pcre,Uwsgi,Buildpack,我正在使用uwsgi在heroku上提供我的应用程序。部署时似乎不支持路由,因为不知何故uwsgi构建时没有regex功能。日志上写着: !!! no internal routing support, rebuild with pcre support !!! 我已经启用了buildpack,它似乎支持在heroku机器上安装pcre(perl兼容的正则表达式) 但是,uwsgi仍然无法使用pcre/路由进行编译: >heroku run pip install -I uwsgi .
!!! no internal routing support, rebuild with pcre support !!!
我已经启用了buildpack,它似乎支持在heroku机器上安装pcre(perl兼容的正则表达式)
但是,uwsgi仍然无法使用pcre/路由进行编译:
>heroku run pip install -I uwsgi
.. wall of text ..
################# uWSGI configuration #################
locking = pthread_mutex
json = False
zlib = True
kernel = Linux
debug = False
capabilities = False
xml = libxml2
routing = False
ssl = True
execinfo = False
malloc = libc
filemonitor = inotify
pcre = False
plugin_dir = .
yaml = embedded
event = epoll
ifaddrs = True
timer = timerfd
############## end of uWSGI configuration #############
total build time: 23 seconds
*** uWSGI is ready, launch it with /app/.heroku/python/bin/uwsgi ***
如何在heroku上的uwsgi中启用路由?我怀疑uwsgi编译没有在编译路径中找到pcre源,因此无法将其添加到中