首页 > 其他 > 详细

nginx+lua项目学习

时间:2014-03-19 06:09:32      阅读:494      评论:0      收藏:0      [点我收藏+]

1、启动nginx命令

/usr/local/ngx_openresty/nginx/sbin/nginx -p /usr/local/ngx_openresty/nginx/ -c /usr/local/ngx_openresty/nginx/conf/vvideo_lua/PS_conf/ps_nginx.conf

/usr/local/ngx_openresty/nginx/sbin/nginx -p /usr/local/ngx_openresty/nginx/ -c /usr/local/ngx_openresty/nginx/conf/vvideo_lua/BS_conf/bs_nginx.conf

2、关闭nginx命令

 

3、查询nginx主进程号

ps -ef | grep nginx

在进程列表里 面找master进程,它的编号就是主进程号了。

 

 ./configure --prefix=/usr/local/openresty --with-luajit --without-http_redis2_module --with-http_iconv_module --with-http_postgres_module             -j2 --with-pcre=/home/work/software/pcre-8.32/

/usr/local/openresty/nginx/sbin/nginx -p /usr/local/openresty/nginx/ -c /usr/local/openresty/nginx/conf/nginx.conf

 curl --get --data "param=test" --url "192.168.217.131:9003/test_url" 

 curl --url "192.168.217.131:9003/test_url?a=1&b=2&c=3"   

 

 /usr/local/openresty/nginx/sbin/nginx -p /usr/local/openresty/nginx/ -c /usr/local/openresty/nginx/conf/nginx.conf

nginx+lua项目学习,布布扣,bubuko.com

nginx+lua项目学习

原文:http://www.cnblogs.com/xiatian1071/p/3608559.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!