zjffdu commented on a change in pull request #3429: [ZEPPELIN-4306] Add
ForwardedRequestCustomizer to httpConfig
URL: https://github.com/apache/zeppelin/pull/3429#discussion_r319716075
##########
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:
Is it needed when it doesn't use proxy ?
----------------------------------------------------------------
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