You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2019/09/01 06:47:57 UTC

[GitHub] [zeppelin] zjffdu commented on a change in pull request #3429: [ZEPPELIN-4306] Add ForwardedRequestCustomizer to httpConfig

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


With regards,
Apache Git Services