init openresty gateway

This commit is contained in:
wdh
2026-05-18 16:22:55 +08:00
commit 6ab44ea187
9 changed files with 430 additions and 0 deletions

27
conf/nginx.conf Normal file
View File

@@ -0,0 +1,27 @@
worker_processes auto;
events {
worker_connections 4096;
}
stream {
include /usr/local/openresty/nginx/conf/stream.d/*.conf;
}
http {
lua_shared_dict limit 10m;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
proxy_connect_timeout 60s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
client_max_body_size 200M;
include /usr/local/openresty/nginx/conf/conf.d/*.conf;
}