diff options
author | 2016-09-19 15:57:16 +0800 | |
---|---|---|
committer | 2016-09-19 15:57:16 +0800 | |
commit | 6be48e1015bc20005ed31f8b857842a59e1c9dfa (patch) | |
tree | e95214c0e5e570b3399938d6eb938b9ea0f1bf2a /msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf | |
parent | 185f8b203942067d02c4b28df91e95ab1d9bc6eb (diff) |
Add scripts for external API gateway
Change-Id: Ice85f6277d0a0d54e00c60a08c687b4ba6b22183
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf')
-rw-r--r-- | msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf index 88ab447..cb60a98 100644 --- a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf +++ b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/sites-enabled/openomsb.conf @@ -21,7 +21,11 @@ server { listen 80; default_type text/html; add_header X-Cache-Status $upstream_cache_status; - + + location = / { + rewrite ^ /openoui/microservices/index.html redirect; + } + location = /openoui/microservices { rewrite /openoui/microservices /openoui/microservices/index.html redirect; } |