Internal redirects should use HTTPS when the application is accessed via HTTPS. The application should properly detect the protocol used to access it or alternatively it should provide some environment variable(s) to configure the base URL used for links and redirects.
Current Behavior
If you serve the application via a reverse proxy with HTTPS enabled, when you visit the HTTPS home page of the application, you are redicted to the HTTP (not HTTPS) login page.
Steps to Reproduce
Run the app behind a reverse proxy that exposes it via HTTPS.
Visit the app using HTTPS protocol.
You will be redirected to the HTTP login page instead of HTTPS.
Expected Behavior
Internal redirects should use HTTPS when the application is accessed via HTTPS. The application should properly detect the protocol used to access it or alternatively it should provide some environment variable(s) to configure the base URL used for links and redirects.
Current Behavior
If you serve the application via a reverse proxy with HTTPS enabled, when you visit the HTTPS home page of the application, you are redicted to the HTTP (not HTTPS) login page.
Steps to Reproduce
Environment
OS: Gentoo Linux CPU architecture: x86_64 How docker service was installed: from the distro repo
Command used to create docker container
Docker logs