blob: 17966f7a0ed9155765f85f9d0a5b8f171e9c5870 (
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
|
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 127.0.0.1:12345;
location / {
proxy_pass http://127.0.0.1:9200;
}
}
server {
listen 127.0.0.1:12346;
location / {
return 403;
}
}
}
|