blob: edf177d313aa4fc0e0b035e8dce6872789b8f13a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
worker_processes 1;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
charset_types text/xml text/plain text/vnd.wap.wml application/x-javascript application/rss+xml text/css application/javascript application/json;
server {
listen 80;
#root {{ ES_PROJECT_ROOT }};
location / {
autoindex on;
}
}
server {
listen 12345;
location / {
proxy_pass http://elasticsearch:9200;
}
}
server {
listen 12346;
location / {
return 403;
}
}
}
|