• nginx+lua项目学习


    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

    /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 -s reload

    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

  • 相关阅读:
    c# 泛型委托
    c# 用户自定义转换
    c# 溢出上下文检测
    c# 接口相同方法申明使用
    c# 事件的订阅发布Demo
    c# 匿名方法几种表现形式
    c# 数组协变
    c# 交错数组
    C# 位运算详解
    ABAP 7.4 新语法-内嵌生命和内表操作(转)
  • 原文地址:https://www.cnblogs.com/xiatian1071/p/3608559.html
Copyright © 2020-2023  润新知