Browse Source

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>
Javeria Khan 3 years ago
parent
commit
324c75ed18
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