Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Domain redirects specification is incomplete #144

Open
kwajiehao opened this issue Mar 31, 2021 · 0 comments
Open

Domain redirects specification is incomplete #144

kwajiehao opened this issue Mar 31, 2021 · 0 comments
Labels
engineering question Further information is requested

Comments

@kwajiehao
Copy link
Contributor

kwajiehao commented Mar 31, 2021

Problem

We have a list of domains / URLs which we perform redirections for. They can be found in the root of the repo at the domain_redirects.conf file. However, these domain redirects only work for HTTP redirection - they will not work for HTTPS redirection since we have not specified any SSL certs for the domains we wish to redirect to.

Example: techcareers.gov.sg

If we type http://techcareers.gov.sg into the URL bar, we get redirected (correctly) to https://www.tech.gov.sg/careers/overview/. However, if we enter https://techcareers.gov.sg instead, we get redirected to https://www.artsxplore.gov.sg/ instead, as that is the first entry of our port 443 configurations.

Proposed solution

We need to create separate config entries for our domain redirects for port 443, which include the SSL certificate of the site which we wish to redirect to.

@kathleenkhy kathleenkhy added engineering question Further information is requested labels Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
engineering question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants