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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to