[
https://issues.apache.org/jira/browse/DRILL-7234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876077#comment-17876077
]
Adam Soroka edited comment on DRILL-7234 at 8/22/24 7:15 PM:
-------------------------------------------------------------
This is a pain point for our site, so I would like to try to contribute a fix.
Am I correct that
[this|https://github.com/apache/drill/blob/a05b90de09599b5139340c9913da4d971ff25902/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/WebServerConstants.java#L28]
is a good place to start? Thank you for any advice!
was (Author: ajs6f):
This is a pain point for our site, so I would like to try to contribute a fix.
Am I correct that
[this|https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/DrillRoot.java]
is a good place to start? Thank you for any advice!
> Allow support for using Drill WebU through a Reverse Proxy server
> -----------------------------------------------------------------
>
> Key: DRILL-7234
> URL: https://issues.apache.org/jira/browse/DRILL-7234
> Project: Apache Drill
> Issue Type: Improvement
> Components: Web Server
> Affects Versions: 1.16.0
> Reporter: Kunal Khatua
> Assignee: James Turton
> Priority: Critical
> Labels: reverse-proxy
>
> Currently, Drill's WebUI has a lot of links and references going through the
> root of the URL.
> i.e. to access the profiles listing or submitting a query, we'd need to
> access the following URL format:
> {code}
> http://localhost:8047/profiles
> http://localhost:8047/query
> {code}
> With a reverse proxy, these pages need to be accessed by:
> {code}
> http://localhost:8047/x/y/z/profiles
> http://localhost:8047/x/y/z/query
> {code}
> However, the links within these page do not include the *{{x/y/z/}}* part, as
> a result of which the visiting those links will fail.
> The WebServer should implement a mechanism that can detect this additional
> layer and modify the links within the webpage accordingly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)