WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Logout link redirects to http #109

@patrakov

Description

@patrakov

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/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions