2018-07-24 (ongoing) Automatic HTTP to HTTPS redirection in GitLab Pages broken for custom domains
Slack discussion: https://gitlab.slack.com/archives/C1BSEQ138/p1532071050000266
For projects hosted in GitLab.com and using GitLab Pages, HTTP to HTTPS automatic redirection (enabled by checking Force domains with SSL certificates to use HTTPS
in Page settings) is broken while using custom domains. Few of the example projects are
- http://indicproject.org (Project: https://gitlab.com/indicproject/indic-project-website)
- http://smc.org.in (Project: https://gitlab.com/smc/smc-website)
- http://indickeyboard.org (Project: https://gitlab.com/indicproject/indic-keyboard-website/)
Redirection works fine for .gitlab.io domain, but that is probably not handled by this checkbox, but by nginx (i.e, at the server level). Because I remember redirection happening for .gitlab.io domain even before this checkbox was added.
What I am unsure of is whether this is an issue with GitLab Pages codebase, or with gitlab.com infrastructure. I didn't have a test environment to check this. @nick.thomas Do you have an easy way (i.e infra in place) to check this ?
/cc @jarv