forked from goodrain/rainbond-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
web.conf
35 lines (29 loc) · 758 Bytes
/
web.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
server {
listen 4000;
location /index.html {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
root /app/www;
index index.html index.htm;
}
location / {
try_files $uri $uri/ /index.html;
root /app/www;
index index.html index.htm;
}
location /static/dists/ {
root /app/www;
rewrite ^/static/dists/(.*)$ /$1 break;
}
location /console {
proxy_pass http://127.0.0.1:5000;
}
location /static/www {
proxy_pass http://127.0.0.1:5000;
}
location /data {
proxy_pass http://127.0.0.1:5000;
}
location /openapi {
proxy_pass http://127.0.0.1:5000;
}
}