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
aadbb606
Commit
aadbb606
authored
Feb 22, 2016
by
Achilleas Pipinellis
Committed by
James Edwards-Jones
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Omnibus storage path
parent
84ff07cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 deletions
+27
-18
doc/pages/administration.md
doc/pages/administration.md
+27
-18
No files found.
doc/pages/administration.md
View file @
aadbb606
...
...
@@ -72,9 +72,9 @@ and/or `443`. For that reason, there is some flexibility in the way which you
can set it up, so you basically have three choices:
1.
Run the pages daemon in the same server as GitLab, listening on a secondary IP
1.
Run the pages daemon in a separate server. In that case, the
Pages [
`path`
]
must also be present in the server that the pages daemon is installed, so
you will have to share it via network.
1.
Run the pages daemon in a separate server. In that case, the
[
Pages path
](
#change-storage-path
)
must also be present in the server that
the pages daemon is installed, so
you will have to share it via network.
1.
Run the pages daemon in the same server as GitLab, listening on the same IP
but on different ports. In that case, you will have to proxy the traffic with
a loadbalancer. If you choose that route note that you should use TCP load
...
...
@@ -85,8 +85,6 @@ can set it up, so you basically have three choices:
In this document, we will proceed assuming the first option. First let's
install the pages daemon.
[
`path`
]:
https://gitlab.com/gitlab-org/gitlab-ee/blob/8-5-stable-ee/config/gitlab.yml.example#L155
### Install the Pages daemon
**Install the Pages daemon on a source installation**
...
...
@@ -404,6 +402,7 @@ you need to change **all** NGINX configs to listen on the first IP address.
```
nginx['listen_addresses'] = ['1.1.1.1']
```
1.
[
Reconfigure GitLab
][
reconfigure
]
### NGINX caveats
...
...
@@ -438,22 +437,32 @@ The default is 100MB.
## Change storage path
Pages are stored by default in
`/home/git/gitlab/shared/pages`
.
If you wish to store them in another location you must set it up in
`gitlab.yml`
under the
`pages`
section:
**Source installations:**
```
yaml
pages
:
1.
Pages are stored by default in
`/home/git/gitlab/shared/pages`
.
If you wish to store them in another location you must set it up in
`gitlab.yml`
under the
`pages`
section:
```yaml
pages:
enabled: true
# The location where pages are stored (default: shared/pages).
path: /mnt/storage/pages
```
```
1.
[
Restart GitLab
][
restart
]
Restart GitLab for the changes to take effect:
**Omnibus installations:**
```
bash
sudo
service gitlab restart
```
1.
Pages are stored by default in
`/var/opt/gitlab/gitlab-rails/shared/pages`
.
If you wish to store them in another location you must set it up in
`/etc/gitlab/gitlab.rb`
:
```ruby
gitlab_rails['pages_path'] = "/mnt/storage/pages"
```
1.
[
Reconfigure GitLab
][
reconfigure
]
## Backup
...
...
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