You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rafael Jaimes (Jira)" <ji...@apache.org> on 2020/04/12 23:12:00 UTC
[jira] [Comment Edited] (DRILL-7234) Allow support for using Drill
WebU through a Reverse Proxy server
[ https://issues.apache.org/jira/browse/DRILL-7234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17081933#comment-17081933 ]
Rafael Jaimes edited comment on DRILL-7234 at 4/12/20, 11:11 PM:
-----------------------------------------------------------------
This is critical for some enterprise deployments. I've seen another project fix the issue by having two env vars that let you set the pathname prefix: one for requests and one for routes.
was (Author: rjaimes):
This is critical for some enterprise deployments. I've seen another project fix the issue by having two env vars, one for requests and one for routes.
> 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
> 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.3.4#803005)