mirror of
https://github.com/requarks/wiki.git
synced 2026-03-02 22:57:36 -05:00
Redirect HTTP to HTTPS feature with explicit port #1153
Labels
No labels
BETA
BETA
accessibility
backlog
bug
can't replicate
contrib-easy
contrib-hard
contrib-medium
deferred
documentation
duplicate
duplicate
editors
enhancement
invalid
localization
migrate
ui
under review
v3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wiki#1153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vincent-polite on GitHub (Feb 26, 2020).
Originally assigned to: @NGPixel on GitHub.
Describe the bug
Redirect HTTP to HTTPS doesn't use the ports defined in the configuration
To Reproduce
Steps to reproduce the behavior:
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):
@NGPixel commented on GitHub (Feb 27, 2020):
The default ports (3000 and 3443) are meant to be remapped to 80 and 443 at some point in your network (either at docker level, reverse-proxy or firewall) as it's not ideal to ask your users to add :3000 / :3443 when loading your wiki.
However an option could be added to add the HTTPS port to the redirect URL, for this specific scenario.
@vincent-polite commented on GitHub (Mar 2, 2020):
That would be more than enough for my use case.
@BPowell76 commented on GitHub (Nov 16, 2024):
The current option to redirect to HTTPS from HTTP in the admin SSL settings causes an excessive redirect error that can (only) can be fixed by modifying the settings value directly in the database.