Skip to content

Commit

Permalink
infra: Add dash support on the frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed May 19, 2019
1 parent 1c1906b commit e1a8ecf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions infra/deployment/config/xsnexplorer.io
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e1a8ecf

Please sign in to comment.