Proxy fix

Change-Id: Ieff083349c47f76b04b4cf672a72682789586a4f
diff --git a/roles/head-prologue/files/cord-http.conf b/roles/head-prologue/files/cord-http.conf
index d80a6a3..fe8daf4 100644
--- a/roles/head-prologue/files/cord-http.conf
+++ b/roles/head-prologue/files/cord-http.conf
@@ -30,16 +30,13 @@
     # Map the various XOS roots to the XOS instance
     ProxyPass /xos http://xos:8888
     ProxyPass /xos/ http://xos:8888/
-    ProxyPass /api http://xos:8888/api/
+    ProxyPassMatch /(api)$ http://xos:8888/$1/
     ProxyPass /api/ http://xos:8888/api/
     ProxyPass /login http://xos:8888/login
     ProxyPass /admin/ http://xos:8888/admin/
     ProxyPass /static/ http://xos:8888/static/
     ProxyPass /loggedin/ http://xos:8888/loggedin/
     ProxyPass /serviceGrid/ http://xos:8888/serviceGrid/
-
-    # Setting XOS as default entry point
-    ProxyPass / http://xos:8888
 </IfModule>
 
 <IfModule rewrite_module>