add coroutine
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
server {
|
||||
# https://serverfault.com/questions/798734/use-variable-for-server-name-in-nginx#
|
||||
# server_name $servername;
|
||||
server_name "test.localhost";
|
||||
listen 8088;
|
||||
|
||||
set $resty_loc "/usr/local/opt/openresty";
|
||||
|
||||
location /api/ngx/test/co {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/tests/co.lua;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user