You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/10/20 20:20:45 UTC

[GitHub] [incubator-superset] acristu commented on issue #985: Configurable basepath/url for nginx reverse proxing on diff location other than /?

acristu commented on issue #985:
URL: https://github.com/apache/incubator-superset/issues/985#issuecomment-713115785


   Landed here while trying to configure k8s ingress path based routing to superset.
   
   The nginx solution did no work for me, superset does not consider `X-Script-Name` when doing redirects and probably has other hardcoded paths, this can be seen also from this nginx location config:
   
   ```
       location ~ ^/(static|superset|sqllab|savedqueryview|druid|tablemodelview|databaseasync|dashboardmodelview|slicemodelview|dashboardasync|druiddatasourcemodelview|api|csstemplateasyncmodelview|chart|savedqueryviewapi|r|datasource|sliceaddview) {
         try_files $uri /analytics/$uri /analytics/$uri?$query_string @rules;
       }
   ```
   
   So any of these paths will not hit the correct ingress.
   
   According to this PR comment https://github.com/apache/incubator-superset/pull/1866#issuecomment-659400989, the only solution for now is to use subdomain based routing.


----------------------------------------------------------------
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: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org