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
Léo-Paul Géneau
gitlab-ce
Commits
302679b9
Commit
302679b9
authored
Oct 24, 2018
by
Damien
Committed by
Achilleas Pipinellis
Mar 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add troubleshooting info for Docker and GitLab Pages
parent
febf545a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
doc/administration/pages/index.md
doc/administration/pages/index.md
+22
-7
No files found.
doc/administration/pages/index.md
View file @
302679b9
...
@@ -125,7 +125,7 @@ The Pages daemon doesn't listen to the outside world.
...
@@ -125,7 +125,7 @@ The Pages daemon doesn't listen to the outside world.
pages_external_url 'http://example.io'
pages_external_url 'http://example.io'
```
```
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
Watch the
[
video tutorial
][
video-admin
]
for this configuration.
Watch the
[
video tutorial
][
video-admin
]
for this configuration.
...
@@ -157,7 +157,22 @@ outside world.
...
@@ -157,7 +157,22 @@ outside world.
where `pages-nginx.crt` and `pages-nginx.key` are the SSL cert and key,
where `pages-nginx.crt` and `pages-nginx.key` are the SSL cert and key,
respectively.
respectively.
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
### Additional configuration for Docker container
The GitLab Pages daemon will not have permissions to bind mounts when it runs
in a Docker container. To overcome this issue you'll need to change the chroot
behavior:
1.
Edit
`/etc/gitlab/gitlab.rb`
.
1.
Set the
`inplace_chroot`
to
`true`
for GitLab Pages:
```shell
gitlab_pages['inplace_chroot'] = true
```
1.
[
Reconfigure GitLab
][
reconfigure
]
.
## Advanced configuration
## Advanced configuration
...
@@ -195,7 +210,7 @@ world. Custom domains are supported, but no TLS.
...
@@ -195,7 +210,7 @@ world. Custom domains are supported, but no TLS.
`192.0.2.2` and `2001::2` are the secondary IPs the GitLab Pages daemon
`192.0.2.2` and `2001::2` are the secondary IPs the GitLab Pages daemon
listens on. If you don't have IPv6, you can omit the IPv6 address.
listens on. If you don't have IPv6, you can omit the IPv6 address.
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
### Custom domains with TLS support
### Custom domains with TLS support
...
@@ -229,7 +244,7 @@ world. Custom domains and TLS are supported.
...
@@ -229,7 +244,7 @@ world. Custom domains and TLS are supported.
`192.0.2.2` and `2001::2` are the secondary IPs where the GitLab Pages daemon
`192.0.2.2` and `2001::2` are the secondary IPs where the GitLab Pages daemon
listens on. If you don't have IPv6, you can omit the IPv6 address.
listens on. If you don't have IPv6, you can omit the IPv6 address.
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
### Custom domain verification
### Custom domain verification
...
@@ -287,7 +302,7 @@ Follow the steps below to configure verbose logging of GitLab Pages daemon.
...
@@ -287,7 +302,7 @@ Follow the steps below to configure verbose logging of GitLab Pages daemon.
gitlab_pages['log_verbose'] = true
gitlab_pages['log_verbose'] = true
```
```
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
## Change storage path
## Change storage path
...
@@ -302,7 +317,7 @@ are stored.
...
@@ -302,7 +317,7 @@ are stored.
gitlab_rails['pages_path'] = "/mnt/storage/pages"
gitlab_rails['pages_path'] = "/mnt/storage/pages"
```
```
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
## Configure listener for reverse proxy requests
## Configure listener for reverse proxy requests
...
@@ -325,7 +340,7 @@ Omnibus GitLab 11.1.
...
@@ -325,7 +340,7 @@ Omnibus GitLab 11.1.
gitlab_pages['listen_proxy'] = "localhost:10080"
gitlab_pages['listen_proxy'] = "localhost:10080"
```
```
1.
[
Reconfigure GitLab
][
reconfigure
]
1.
[
Reconfigure GitLab
][
reconfigure
]
.
## Set maximum pages size
## Set maximum pages size
...
...
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