Browse Source

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>
Javeria Khan 3 years ago
parent
commit
9688d42728
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      deployment_scripts/puppet/modules/sal/templates/default.conf.erb

+ 5
- 1
deployment_scripts/puppet/modules/sal/templates/default.conf.erb View File

@@ -71,10 +71,14 @@ server {
71 71
     proxy_set_header Host $host;
72 72
   }
73 73
 
74
-  location /cloudApex/ {
74
+  location ~ /cloudApex {
75 75
     index index.html;
76 76
   }
77 77
 
78
+  location ~* /cloudapex {
79
+    rewrite (?i)/cloudapex(.*)$ /cloudApex$1 last;
80
+  }
81
+
78 82
   location /vtap/ {
79 83
     alias /opt/pg/vtap;
80 84
   }

Loading…
Cancel
Save