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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
5bf06528
Commit
5bf06528
authored
Jan 25, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
b5f3aea1
04c9ab31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
doc/administration/pages/index.md
doc/administration/pages/index.md
+36
-0
No files found.
doc/administration/pages/index.md
View file @
5bf06528
...
...
@@ -332,6 +332,42 @@ The maximum size of the unpacked archive per project can be configured in the
Admin area under the Application settings in the
**Maximum size of pages (MB)**
.
The default is 100MB.
## Running GitLab Pages in a separate server
You may want to run GitLab Pages daemon on a separate server in order to decrease the load on your main application server.
Follow the steps below to configure GitLab Pages in a separate server.
1.
Suppose you have the main GitLab application server named
`app1`
. Prepare
new Linux server (let's call it
`app2`
), create NFS share there and configure access to
this share from
`app1`
. Let's use the default GitLab Pages folder
`/var/opt/gitlab/gitlab-rails/shared/pages`
as the shared folder on
`app2`
and mount it to
`/mnt/pages`
on
`app1`
.
1.
On
`app2`
install GitLab omnibus and modify
`/etc/gitlab/gitlab.rb`
this way:
```shell
external_url 'http://<ip-address-of-the-server>'
pages_external_url "http://<your-pages-domain>"
postgresql['enable'] = false
redis['enable'] = false
prometheus['enable'] = false
unicorn['enable'] = false
sidekiq['enable'] = false
gitlab_workhorse['enable'] = false
gitaly['enable'] = false
alertmanager['enable'] = false
node_exporter['enable'] = false
```
1.
Run
`sudo gitlab-ctl reconfigure`
.
1.
On
`app1`
apply the following changes to
`/etc/gitlab/gitlab.rb`
:
```shell
gitlab_pages['enable'] = false
pages_external_url "http://<your-pages-domain>"
gitlab_rails['pages_path'] = "/mnt/pages"
```
1.
Run
`sudo gitlab-ctl reconfigure`
.
## Backup
Pages are part of the
[
regular backup
][
backup
]
so there is nothing to configure.
...
...
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