init openresty gateway
This commit is contained in:
27
conf/nginx.conf
Normal file
27
conf/nginx.conf
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user