Support custom domains when pages run on separate server
What does this MR do and why?
Support custom domains when pages run on separate server
Related: #285089 (closed)
Changelog: fixed
References
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
-
Create a GitLab Pages website from a project template, preferably using the plain HTML template.
-
In your GitLab repository, update the
gitlab.yml
file with the following settings under thepages
section:## GitLab Pages pages: external_http: false external_https: false custom_domains: https
-
Restart the Rails web server using:
gdk restart rails-web
-
Verify the following under Deploy > Pages:
- The Force HTTPS (requires valid certificates) checkbox is visible.
- The New domain button is visible in the Domains section.
- On clicking the New domain button, the New pages domain form appears, containing Certificate (PEM) and Key (PEM) text areas.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Naman Jagdish Gala