zjffdu commented on a change in pull request #3429: [ZEPPELIN-4306] Add 
ForwardedRequestCustomizer to httpConfig
URL: https://github.com/apache/zeppelin/pull/3429#discussion_r319745613
 
 

 ##########
 File path: 
zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
 ##########
 @@ -295,9 +296,10 @@ private static Server 
setupJettyServer(ZeppelinConfiguration conf) {
     final Server server = new Server(threadPool);
     ServerConnector connector;
 
+    HttpConfiguration httpConfig = new HttpConfiguration();
+    httpConfig.addCustomizer(new ForwardedRequestCustomizer());
 
 Review comment:
   Thanks for the explanation. PR LGTM 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to