AuthPlatform/conf/nginx.conf
2025-09-27 15:14:13 +08:00

29 lines
705 B
Nginx Configuration File

worker_processes 1;
worker_rlimit_nofile 65535;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
limit_req_zone $binary_remote_addr zone=one:50m rate=20r/s;
lua_package_path 'D:/ZeroBraneStudio-1.90/lualibs/?/?.lua;D:/ZeroBraneStudio-1.90/lualibs/?.lua;;';
lua_package_cpath 'D:/ZeroBraneStudio-1.90/bin/clibs/?.dll;;';
server {
listen 9080;
server_name localhost;
default_type text/html;
location /test {
default_type 'text/plain';
content_by_lua_file 'src/test.lua';
}
}
}