You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/23 15:48:55 UTC

[GitHub] [druid] jbonofre opened a new issue #10790: Add a configuration to define the unified console context path

jbonofre opened a new issue #10790:
URL: https://github.com/apache/druid/issues/10790


   ### Description
   
   Today there's no easy way to change the unified console context path. It would be helpful especially to "expose" the console behind a Apache HTTPd proxy.
   
   ### Motivation
   
   It would be helpful especially to "expose" the console behind a Apache HTTPd 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] ciukstar commented on issue #10790: Add a configuration to define the unified console context path

Posted by GitBox <gi...@apache.org>.
ciukstar commented on issue #10790:
URL: https://github.com/apache/druid/issues/10790#issuecomment-1002179956


   It would be helpful especially to "expose" the console behind a NGINX reverse 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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #10790: Add a configuration to define the unified console context path

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #10790:
URL: https://github.com/apache/druid/issues/10790#issuecomment-1003243999


   Oh, I get it, the front-end console is not aware of the context path.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] ciukstar commented on issue #10790: Add a configuration to define the unified console context path

Posted by GitBox <gi...@apache.org>.
ciukstar commented on issue #10790:
URL: https://github.com/apache/druid/issues/10790#issuecomment-1003188373


   @FrankChen021 Thank you for suggestion. 
   But it doesn't work for all API requests (XMLHttpRequest, I guess) like "/status", "/proxy", "/assets/kafka.png", "/assets/s3.png", etc. Of course I handle these cases one by one, but I am not sure that all were resolved.
   There are errors at least for "#load-data" and "Druid Doctor" -> "Analyze Druid cluster".
   Thanks again.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] ciukstar commented on issue #10790: Add a configuration to define the unified console context path

Posted by GitBox <gi...@apache.org>.
ciukstar commented on issue #10790:
URL: https://github.com/apache/druid/issues/10790#issuecomment-1003366957


   Yes. It seems that Ajax requests are not aware of the context path. Also requests for static assets are not aware of the context path and may interfere with existing client applications (for instance, in my case, an Angular application which also publishes static resources at "/assets")


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #10790: Add a configuration to define the unified console context path

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #10790:
URL: https://github.com/apache/druid/issues/10790#issuecomment-1002844668


   @ciukstar If you're using nginx, you can leverage the NGINX's 'rewrite' to do that. 
   
   For example
   
   ```
   location ^~/your_context_path/ {
           rewrite ^/your_context_path/(.*)$ /$1 break;
           proxy_pass http://YOUR_DRUID_CONSOLE;
       }
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org