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:
I have put LXC web panel behind Apache, so that it handles https for me, and did this:
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: