Changing URL for serving cloudapex

* Making the url case insensitive to make it user friendly

Change-Id: I66173596a7309a3f012e2f848165144eb183c849
Signed-off-by: Javeria Khan <javeriak@plumgrid.com>
This commit is contained in:
Javeria Khan 2016-04-29 00:59:05 -07:00
parent 8f36e19b4b
commit 9688d42728
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}