summaryrefslogtreecommitdiff
path: root/doc/administration/pages
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-23 06:08:32 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-23 06:08:32 +0000
commit0f8c2334f0e57a22bf10e4485c17f856289e4fb4 (patch)
tree6cf14307d353a1ac89cc5f7e022c110329dd9282 /doc/administration/pages
parentccaa94488202341c25d24f6f16a70a9f658fc742 (diff)
downloadgitlab-ce-0f8c2334f0e57a22bf10e4485c17f856289e4fb4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/pages')
-rw-r--r--doc/administration/pages/source.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/administration/pages/source.md b/doc/administration/pages/source.md
index 738eb87d53d..3689a604840 100644
--- a/doc/administration/pages/source.md
+++ b/doc/administration/pages/source.md
@@ -98,7 +98,7 @@ The Pages daemon doesn't listen to the outside world.
1. Install the Pages daemon:
- ```
+ ```bash
cd /home/git
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-pages.git
cd gitlab-pages
@@ -160,7 +160,7 @@ outside world.
1. Install the Pages daemon:
- ```
+ ```bash
cd /home/git
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-pages.git
cd gitlab-pages
@@ -225,7 +225,7 @@ world. Custom domains are supported, but no TLS.
1. Install the Pages daemon:
- ```
+ ```bash
cd /home/git
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-pages.git
cd gitlab-pages
@@ -290,7 +290,7 @@ world. Custom domains and TLS are supported.
1. Install the Pages daemon:
- ```
+ ```bash
cd /home/git
sudo -u git -H git clone https://gitlab.com/gitlab-org/gitlab-pages.git
cd gitlab-pages
@@ -353,20 +353,20 @@ not remove the backslashes.
If your GitLab Pages domain is `example.io`, replace:
-```bash
+```nginx
server_name ~^.*\.YOUR_GITLAB_PAGES\.DOMAIN$;
```
with:
-```
+```nginx
server_name ~^.*\.example\.io$;
```
If you are using a subdomain, make sure to escape all dots (`.`) except from
the first one with a backslash (\). For example `pages.example.io` would be:
-```
+```nginx
server_name ~^.*\.pages\.example\.io$;
```