logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

解决nginx: [emerg] unknown directive "content_by_lua_block" in /usr/local/nginx/conf/nginx.conf

要使用content_by_lua_block,lua-nginx-module 的版本至少要0.10.5 以上;在这以下的版本使用content_by_lua_file 或者 content_by_lua.所以,如果出现了nginx: [emerg] unknown directive "xxx"错误,可以先看看自己相应的模块的版本是否符合要求。...

使用python3+supervisor+nginx部署tornado

安装supervisor本人使用的操作系统是Ubuntu-16.04,最好使用如下命令安装sudo apt-get install supervisor使用pip3安装时会出现说supervisor只适合python2的情况而不能成功安装,但其实用python3写的tornado也能用supervisor部署2. 配置supervisor对于16.04版本的Ubun...

#tornado
到底了