Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8442e3f0
Commit
8442e3f0
authored
Mar 04, 2016
by
Achilleas Pipinellis
Committed by
James Edwards-Jones
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sections on custom domains
[ci skip]
parent
231e3a2b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
4 deletions
+26
-4
doc/pages/README.md
doc/pages/README.md
+26
-4
doc/pages/img/pages_dns_details.png
doc/pages/img/pages_dns_details.png
+0
-0
doc/pages/img/pages_multiple_domains.png
doc/pages/img/pages_multiple_domains.png
+0
-0
doc/pages/img/pages_upload_cert.png
doc/pages/img/pages_upload_cert.png
+0
-0
No files found.
doc/pages/README.md
View file @
8442e3f0
...
...
@@ -212,7 +212,7 @@ pages:
-
master
```
### How `.gitlab-ci.yml` looks like when using a static generator
###
#
How `.gitlab-ci.yml` looks like when using a static generator
In general, GitLab Pages support any kind of
[
static site generator
][
staticgen
]
,
since the Runner can be configured to run any possible command.
...
...
@@ -299,6 +299,9 @@ also includes `.gitlab-ci.yml`.
## Next steps
So you have successfully deployed your website, congratulations! Let's check
what more you can do with GitLab Pages.
### Example projects
Below is a list of example projects for GitLab Pages with a plain HTML website
...
...
@@ -313,6 +316,9 @@ or various static site generators. Contributions are very welcome.
-
[
Metalsmith
](
https://gitlab.com/gitlab-examples/pages-metalsmith
)
-
[
Harp
](
https://gitlab.com/gitlab-examples/pages-harp
)
Visit the gitlab-examples group for a full list of projects:
<https://gitlab.com/groups/gitlab-examples>
.
### Add a custom domain to your Pages website
If this setting is enabled by your GitLab administrator, you should be able to
...
...
@@ -322,11 +328,27 @@ see the **New Domain** button when visiting your project's **Settings > Pages**.
---
You are not limited to one domain per can add multiple domains pointing to your
website hosted under GitLab.
You can add multiple domains pointing to your website hosted under GitLab.
Once the domain is added, you can see it listed under the
**Domains**
section.
![
Pages multiple domains
](
img/pages_multiple_domains.png
)
---
As a last step, you need to configure your DNS and add a CNAME pointing to your
user/group page. Click on the
**Details**
button of a domain for further
instructions.
![
Pages DNS details
](
img/pages_dns_details.png
)
### Secure your custom domain website with TLS
When you add a new custom domain, you also have the chance to add a TLS
certificate. If this setting is enabled by your GitLab administrator, you
should be able to see the option to upload the public certificate and the
private key when adding a new domain.
![
Pages upload cert
](
img/pages_upload_cert.png
)
### Custom error codes pages
...
...
doc/pages/img/pages_dns_details.png
0 → 100644
View file @
8442e3f0
33.9 KB
doc/pages/img/pages_multiple_domains.png
0 → 100644
View file @
8442e3f0
62.2 KB
doc/pages/img/pages_upload_cert.png
0 → 100644
View file @
8442e3f0
101 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment