Commit d7f0f425 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis Committed by Kamil Trzcinski

Add section on storage path [ci skip]

parent 9967a0bc
...@@ -48,7 +48,7 @@ See the relevant documentation at <http://doc.gitlab.com/omnibus/settings/pages. ...@@ -48,7 +48,7 @@ See the relevant documentation at <http://doc.gitlab.com/omnibus/settings/pages.
1. Edit `gitlab.yml` and under the `pages` setting, set `enabled` to `true` and 1. Edit `gitlab.yml` and under the `pages` setting, set `enabled` to `true` and
the `host` to the FQDN under which GitLab Pages will be served: the `host` to the FQDN under which GitLab Pages will be served:
```bash ```yaml
## GitLab Pages ## GitLab Pages
pages: pages:
enabled: true enabled: true
...@@ -132,6 +132,25 @@ The maximum size of the unpacked archive can be configured in the Admin area ...@@ -132,6 +132,25 @@ The maximum size of the unpacked archive can be configured in the Admin area
under the Application settings in the **Maximum size of pages (MB)**. under the Application settings in the **Maximum size of pages (MB)**.
The default is 100MB. 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:
```yaml
pages:
enabled: true
# The location where pages are stored (default: shared/pages).
path: /mnt/storage/pages
```
Restart GitLab for the changes to take effect:
```bash
sudo service gitlab restart
```
## Backup ## Backup
Pages are part of the regular backup so there is nothing to configure. Pages are part of the regular backup so there is nothing to configure.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment