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 2019/01/29 18:10:24 UTC

[GitHub] dominijk commented on issue #3690: URL Prefix Superset Flask

dominijk commented on issue #3690: URL Prefix Superset Flask
URL: https://github.com/apache/incubator-superset/issues/3690#issuecomment-458646126
 
 
   @pandamien I've attempted your first option to configure as below;
   
   ```
   location ~ ^/(users|userstatschartview|roles|permissions|permissionviews|viewmenus|logout|login|logmodelview|dashboardasync|databaseasync|csstemplateasyncmodelview|druid|druidclustermodelview|druiddatasourcemodelview|csstemplatemodelview|csvtodatabaseview|sliceaddview|dashboard|chart|databaseview|tablemodelview|queryview|annotationlayermodelview|annotationmodelview|lang)/ {
       		auth_basic off;
   		rewrite ^/(.*) /dashboard/$1 permanent;
       		proxy_pass http://MY_ADDRESS:MY_PORT;
       		proxy_set_header Host $host;
   	}
   ```
   
   
    but i just end up with endless redirect as;
   
   http://wesbsite/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/dashboard/login/ 
   
   Have I missed something obvious? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org