Changing URL for serving cloudapex

* Making the url case insensitive to make it user friendly

Change-Id: I0ac46ff5b54605cc42d9b33a0e0132271244445e
Signed-off-by: Javeria Khan <javeriak@plumgrid.com>
This commit is contained in:
Javeria Khan 2016-04-29 10:36:55 -07:00
parent bb5fb3c7d3
commit 324c75ed18
1 changed files with 5 additions and 1 deletions

View File

@ -71,10 +71,14 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
} }
location /cloudApex/ { location ~ /cloudApex {
index index.html; index index.html;
} }
location ~* /cloudapex {
rewrite (?i)/cloudapex(.*)$ /cloudApex$1 last;
}
location /vtap/ { location /vtap/ {
alias /opt/pg/vtap; alias /opt/pg/vtap;
} }