From 1af750f3afded753e39cfd68feb86117d06f3f27 Mon Sep 17 00:00:00 2001 From: Junaid Ali Date: Tue, 3 May 2016 06:48:06 -0400 Subject: [PATCH] nginx changes --- templates/kilo/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/kilo/nginx.conf b/templates/kilo/nginx.conf index 7f5c51b..9718d2b 100644 --- a/templates/kilo/nginx.conf +++ b/templates/kilo/nginx.conf @@ -71,10 +71,14 @@ server { proxy_set_header Host $host; } - location /cloudApex/ { + location ~ /cloudApex { index index.html; } + location ~* /cloudapex { + rewrite (?i)/cloudapex(.*)$ /cloudApex$1 last; + } + location /vtap/ { alias /opt/pg/vtap; }