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
acf1796e
Commit
acf1796e
authored
Jan 25, 2019
by
Alexander Tanayno
Committed by
Marcia Ramos
Jan 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds steps for running GitLab Pages on a separate server
parent
5ab28549
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 @
acf1796e
...
@@ -332,6 +332,42 @@ The maximum size of the unpacked archive per project can be configured in the
...
@@ -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)**
.
Admin area under the Application settings in the
**Maximum size of pages (MB)**
.
The default is 100MB.
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
## Backup
Pages are part of the
[
regular backup
][
backup
]
so there is nothing to configure.
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