Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Commit f318539

Browse files
committed
Added Elasticsearch timeout value to 600 seconds
1 parent 9b42c24 commit f318539

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

nginx.local.conf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
events {
2+
worker_connections 1024;
3+
}
4+
http {
5+
upstream elasticsearch {
6+
server localhost:9200;
7+
keepalive 15;
8+
}
9+
10+
server {
11+
listen 19200;
12+
location / {
13+
resolver 8.8.8.8;
14+
resolver_timeout 5s;
15+
proxy_pass http://elasticsearch;
16+
proxy_http_version 1.1;
17+
proxy_set_header Connection "Keep-Alive";
18+
proxy_set_header Proxy-Connection "Keep-Alive";
19+
proxy_set_header Host http://localhost;
20+
proxy_read_timeout 600s;
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)