abhi2196 commented on a change in pull request #276: KNOX-2258: Add rewrite 
rule to fix livy redirect issue
URL: https://github.com/apache/knox/pull/276#discussion_r387048935
 
 

 ##########
 File path: 
gateway-service-definitions/src/main/resources/services/livy/0.4.0/service.xml
 ##########
 @@ -24,7 +24,9 @@
     </metadata>
   <routes>
     <route path="/livy/**?**"/>
-    <route path="/livy"/>
+    <route path="/livy">
+        <rewrite apply="LIVYSERVER/livy/outbound/headers/ui" 
to="response.headers"/>
 
 Review comment:
   Added change to apply to `/livy/` path.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to