vi nginx.conf server { location /hello { default_type text/html; content_by_lua_block { ngx.say("HelloWorld") } } }
vi nginx.conf
server {
location /hello {
default_type text/html;
content_by_lua_block {
ngx.say("HelloWorld")
}
cd ../sbin ps -ef|grep nginx ./nginx -t ./nginx ps -ef|grep nginx
cd ../sbin
ps -ef|grep nginx
./nginx -t
./nginx
学习更多技术,关注我: