worker_processes 1; #worker_rlimit_nofile 65535; events { worker_connections 1024; } http { lua_package_path 'src/?/?.lua;src/?.lua;src/share/?/?.lua;src/share/?.lua;;'; lua_package_cpath 'src/share/lib/?.so;;'; server { listen 9080; server_name 127.0.0.1; default_type text/html; location = /favicon.ico { log_not_found off; access_log off; } location /api { content_by_lua_file '/home/frankly/work/AuthPlatform/src/api/api.lua'; } location /testTree { content_by_lua_file '/home/frankly/work/AuthPlatform/src/test/testRadixtree.lua'; } location /testSQL { content_by_lua_file '/home/frankly/work/AuthPlatform/src/test/testPostgres.lua'; } location /testRedis { content_by_lua_file '/home/frankly/work/AuthPlatform/src/test/testRedis.lua'; } location /testObj { content_by_lua_file '/home/frankly/work/AuthPlatform/src/test/testObjClass.lua'; } } }