HTTPS redirection to wrong port
angeleliseo opened this issue · 0 comments
HINT: try to reproduce bugs and errors at https://public.tenant.kiwitcms.org!
This is always running the latest version and will automatically submit
traceback and debugging information to us!
Description of problem
When setting up Kiwi with the docker compose yml file. The port redirection from HTTP to HTTPS is not working as expected.
I declared the specific host ports in the yml file and kiwi HTTP server seems to have the port values hardcoded. Even my HTTPS port is 8443 as per yml setup. When loading the site with HTTP it redirects me to default well known port 443 which is not valid for my case as per the compos file changes.
Version or commit hash (if applicable)
latest from master repo. Commit hash 0a179f7
Steps to Reproduce
- Get the Commit hash 0a179f7
- Edit the docker-compose.yml file to customize the host ports to 8080 and 8443 for HTTP and HTTPS
- Use docker compose with the edited file to run Kiwi
- Go to Kiwi main page through HTTP (8080)
- Redirects from HTTP to HTTPS is done but redirection goes to 443 instead 8443
Actual results
Redirects from HTTP to HTTPS is done but redirection goes to 443 instead 8443
Expected results
Redirects from HTTP to HTTPS is done using 8443 as edited in host port docker-compose.yml file