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

HTTPS redirection to wrong port #3263

Open
angeleliseo opened this issue Jun 24, 2023 · 0 comments
Open

HTTPS redirection to wrong port #3263

angeleliseo opened this issue Jun 24, 2023 · 0 comments

Comments

@angeleliseo
Copy link

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

  1. Get the Commit hash 0a179f7
  2. Edit the docker-compose.yml file to customize the host ports to 8080 and 8443 for HTTP and HTTPS
  3. Use docker compose with the edited file to run Kiwi
  4. Go to Kiwi main page through HTTP (8080)
  5. 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

Additional info (Python traceback, logs, etc.)

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