|
@ -10,17 +10,17 @@ server { |
|
|
# the backend api |
|
|
# the backend api |
|
|
location /api/ltc { |
|
|
location /api/ltc { |
|
|
rewrite ^/api/ltc/(.*) /$1 break; |
|
|
rewrite ^/api/ltc/(.*) /$1 break; |
|
|
proxy_pass http://18.222.26.185:9000; |
|
|
proxy_pass http://10.136.151.203:9000; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
location /api/xsn { |
|
|
location /api/xsn { |
|
|
rewrite ^/api/xsn/(.*) /$1 break; |
|
|
rewrite ^/api/xsn/(.*) /$1 break; |
|
|
proxy_pass http://18.224.5.222:9000; |
|
|
proxy_pass http://10.136.160.52:9000; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
location /api { |
|
|
location /api { |
|
|
rewrite ^/api/(.*) /$1 break; |
|
|
rewrite ^/api/(.*) /$1 break; |
|
|
proxy_pass http://18.224.5.222:9000; |
|
|
proxy_pass http://10.136.160.52:9000; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# caching static assets |
|
|
# caching static assets |
|
|