Skip to content

Redirect HTTP to HTTPS feature with explicit port #1537

@vincent-polite

Description

@vincent-polite

Describe the bug
Redirect HTTP to HTTPS doesn't use the ports defined in the configuration

To Reproduce
Steps to reproduce the behavior:

  1. Turn on HTTP to HTTPS redirect in Administration > SSL section
  2. Surf to http://:3000
  3. Redirect goes to https:// without a specific port.

Expected behavior
In my use case, I'm already hosting IIS at ports 80 and 443 and running wikijs as a standalone on ports 3000 and 3443. I thought this feature would map my requests to :3000 to :3443 and change the protocol to https.

Host Info (please complete the following information):

  • OS: Windows 2019, running node server as windows service
  • Wiki.js version: 2.1.113
  • Database engine: MSSQL 2019

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions