-
Notifications
You must be signed in to change notification settings - Fork 0
/
nginx.conf
37 lines (36 loc) · 896 Bytes
/
nginx.conf
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
events {
worker_connections 1024; ## Default: 1024
}
http {
server {
listen 8080;
server_name localhost;
location /route/generate {
proxy_pass http://127.0.0.1:8002/route/generate;
}
location /route/return {
proxy_pass http://127.0.0.1:8002/route/return;
}
location /route/rate {
proxy_pass http://127.0.0.1:8002/route/rate;
}
location /stats/check {
proxy_pass http://127.0.0.1:8001/stats/check;
}
location /stats/update {
proxy_pass http://127.0.0.1:8001/stats/update;
}
location /poi/coords {
proxy_pass http://127.0.0.1:8001/poi/coords;
}
location /poi/types {
proxy_pass http://127.0.0.1:8001/poi/types;
}
location /poi/save {
proxy_pass http://127.0.0.1:8001/poi/save;
}
location /route/debug {
proxy_pass http://127.0.0.1:8002/route/debug;
}
}
}