-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathim-dashboard.conf
64 lines (60 loc) · 1.68 KB
/
im-dashboard.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
54
55
56
57
58
59
60
61
62
63
64
server {
listen 80;
listen [::]:80;
# 接口服务的IP地址
# server_name 120.79.170.214;
server_name localhost;
charset utf-8;
access_log off;
# ElecManageSystem-应用文件夹名称 app-index.html页面所在文件夹
root /var/www/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~ /chat$ {
proxy_pass http://47.243.54.53:18001;
}
# location /getChartData {
# proxy_pass http://120.79.170.214/c/dashboard/getChartData;
# proxy_set_header Cookie $http_cookie;
# }
# location /getMetricNameMap {
# proxy_pass http://120.79.170.214/c/dashboard/getMetricNameMap;
# proxy_set_header Cookie $http_cookie;
# }
# location /getGradeList {
# proxy_pass http://120.79.170.214/c/dashboard/getGradeList;
# proxy_set_header Cookie $http_cookie;
# }
#
# location /initQuery {
# proxy_pass http://120.79.170.214/c/projectListener/initQuery;
# proxy_set_header Cookie $http_cookie;
# }
#
# location /getTotalLayer {
# proxy_pass http://120.79.170.214/c/Metric/getTotalLayer;
# proxy_set_header Cookie $http_cookie;
# }
#
# location /findGroupByPidAndPager {
# proxy_pass http://120.79.170.214/api/group/findGroupByPidAndPager;
# }
#
# location /findHostBygroupId {
# proxy_pass http://120.79.170.214/api/group/findHostBygroupId;
# }
#
# location /v1 {
# proxy_pass http://120.79.170.214/api/v1;
# }
#
# location /v2 {
# proxy_pass http://120.79.170.214/api/v2;
# }
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}