Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "/" from static URLs to allow for non-root URLs #46

Closed
diranged opened this issue Jan 13, 2013 · 2 comments
Closed

Remove "/" from static URLs to allow for non-root URLs #46

diranged opened this issue Jan 13, 2013 · 2 comments

Comments

@diranged
Copy link

I want to run Flower behind our Nginx proxy (which provides authentication, SSL, and a few other nice features for us) on our tools machine. I cannot currently redirect "/flower" to the flower app though, because the flower app makes all of the URLs relative to the root URL. Ie, static links to "/static/foo.js" rather than "static/foo.js".

@mher
Copy link
Owner

mher commented Jan 14, 2013

To deploy flower to non-root URL you need to launch flower with --url_prefix option and use nginx rewrite. Issue #13 contains a sample nginx config.

@diranged
Copy link
Author

Sorry I see thats fixed in the master-branch, just not in the latest release. It works too. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants