openresty nginx,启动nginx后没有工作流程

openresty nginx,启动nginx后没有工作流程,nginx,openresty,Nginx,Openresty,我的nginx.conf内容是: I work on windows 10 use built-in bash for ubantu I installed openresty, and start it's nginx with command "nginx -p openresty-test". 问题: 我尝试了curl“-I”,它被阻止,没有任何消息,也没有返回。 我使用web浏览器访问localhost:6699,它也被阻止了 worker_processes 2;

我的nginx.conf内容是:

I work on windows 10 use built-in bash for ubantu

I installed openresty, and start it's nginx with command "nginx -p openresty-test".
问题: 我尝试了curl“-I”,它被阻止,没有任何消息,也没有返回。 我使用web浏览器访问localhost:6699,它也被阻止了

worker_processes  2;       
error_log logs/error.log;  
events {
    worker_connections 1024;
}

http {
    server {
        listen 6699;
        location / {
            default_type text/html;

            content_by_lua_block {
                ngx.say("HelloWorld")
            }
        }
    }
}

我该怎么办?

您确定nginx使用您的配置吗?你的配置文件在哪里?编译的nginx(nginx-V)的前缀是什么?您查看了日志了吗?
I run "ps -ef | grep nginx" show:
27     1  0  2433 ?        00:00:00 nginx: master process ng
29     2  0  2433 ?        00:00:00 grep --color=auto nginx

As we see there is only a master process, no any work process, I doubt that cause my problem,