ngx_pythonNginx 模块
ngx_python 是为 nginx 嵌入 python 脚本的模块。
环境
- python 2.7.*
- nginx-1.6.3+
安装
```sh git clone https://github.com/rryqszq4/ngx_python.git wget 'http://nginx.org/download/nginx-1.6.3.tar.gz' tar -zxvf nginx-1.6.3.tar.gz cd nginx-1.6.3 export PYTHON_INC=/path/to/python/include/python2.7 export PYTHON_BIN=/path/to/python/bin ./configure --user=www --group=www \ --prefix=/path/to/nginx \ --add-module=/path/to/ngx_python ```
摘要
```nginx user www www; worker_processes 4; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; keepalive_timeout 65; server { listen 80; server_name localhost; location /content_by_python { content_by_python " import ngx ngx.echo('Hello, ngx_python') "; } } } } ```
评论
phoenix-browserphoenixframework 模块
phoenixframework平台的一个模块,基于jbrowser定制的浏览器,用于对页面元素进行录制。该版本暂不支持新弹出的浏览器窗口的录制。
phoenix-browserphoenixframework 模块
0
phoenix-browserphoenixframework 模块
phoenixframework平台的一个模块,基于 jbrowser 定制的浏览器,用于对页面元素
phoenix-browserphoenixframework 模块
0
isaced-appstore-connect-sdkNode.js 模块
appstore-connect-sdk 是一个 Node.js 模块,使用 TypeScript
isaced-appstore-connect-sdkNode.js 模块
0
EverythingStaysNodeJS 模块
EverythingStays是一个不可变的分布式的NodeJS模块。简介至今为止任然有很多的工作者使用NPM工作。我们应该感激社会让NPM公司走到今天这一步。然而,随着越来越多的用户依赖单点来获取应
EverythingStaysNodeJS 模块
0
CronShotNode.js 模块
CronShot是Node.js模块,用来调节,获取,修改和存储Web页面截图的。安装:npminstallcronshot示例:var cronshot = require('cronshot'),
CronShotNode.js 模块
0
echo-nginx-moduleNginx 模块
echo-nginx-module是一个Nginx模块,提供直接在Nginx配置使用包括"echo","sleep","time"等指令。该模块包装了许多Nginx内部API,用于流输入和输出,并行/
echo-nginx-moduleNginx 模块
0