Provide a warning message when Force HTTP is enabled and domains do not have valid certificates
Problem to solve
We prevent enabling Force HTTPS
if you domains do not have a valid certificate, if you have already enabled Force HTTPS
and add a domain that does not have a valid certificate, you have created an invalid configuration.
Intended users
Users with projects that use any static website generator or plain HTML that wish to leverage GitLab pages.
Proposal
Provide a warning message letting the user know they have created an invalid configuration.
- Replace the checkbox with a toggle switch.
- Add warning message
- Force HTTPS requires a valid certificate for all domains. One or more of your domain does not have a valid certificate. Domains without valid certificates will not be redirected to HTTPS.
- Warning message should not be dismissable
What does success look like, and how can we measure that?
Reduction of users with invalid configurations.