Browse Source

infra: Add dash support on the frontend

develop
Alexis Hernandez 6 years ago
parent
commit
e1a8ecf3fb
  1. 8
      infra/deployment/config/xsnexplorer.io

8
infra/deployment/config/xsnexplorer.io

@ -42,6 +42,14 @@ server {
proxy_pass http://10.136.96.184:9000;
}
location /api/dash {
proxy_cache my_cache;
add_header X-Cache-Status $upstream_cache_status;
rewrite ^/api/dash/(.*) /$1 break;
proxy_pass http://10.136.168.102:9000;
}
location /api/xsn {
proxy_cache my_cache;
add_header X-Cache-Status $upstream_cache_status;

Loading…
Cancel
Save