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

Logout link redirects to http #109

Open
patrakov opened this issue Mar 2, 2016 · 0 comments
Open

Logout link redirects to http #109

patrakov opened this issue Mar 2, 2016 · 0 comments

Comments

@patrakov
Copy link

patrakov commented Mar 2, 2016

I have put LXC web panel behind Apache, so that it handles https for me, and did this:

ProxyPass "/" "http://127.0.0.1:5000/"

Result: when I log out, Flask the web server gives me out an absolute redirect to http://lwp.mysite.com/ . It should give out an absolute redirect to https://www.mysite.com/ , or a relative redirect to / .

I have worked this using this directive, but it is a hack that should never be needed:

ProxyPassReverse "/" "http://lwp.mysite.com/"
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

1 participant