-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
53 lines (40 loc) · 1.17 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
worker_processes 4;
events {
worker_connections 1024;
}
http {
server {
listen 80;
location / {
root /usr/share/nginx/html;
}
location /getsize {
proxy_set_header Connection "";
proxy_pass http://m-bff:8081/getsize;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
}
location /geths {
proxy_set_header Connection "";
proxy_pass http://m-bff:8081/geths;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
}
location /seths/ {
proxy_set_header Connection "";
proxy_pass http://m-bff:8081/seths/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
}
location /setscore/ {
proxy_set_header Connection "";
proxy_pass http://m-bff:8081/setscore/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
}
}
}