diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2015-12-18 02:20:29 +0200 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-01-31 22:53:55 +0000 |
commit | 5e8675c15bf5a56764d943918b2260209c002776 (patch) | |
tree | 703d3fcae0243f271b210e9522088cecaac09f24 /doc/pages/administration.md | |
parent | 31454eb2f0f6bf960be5a51f0d8073672ea621a9 (diff) | |
download | gitlab-ce-5e8675c15bf5a56764d943918b2260209c002776.tar.gz |
Add section on storage path [ci skip]
Diffstat (limited to 'doc/pages/administration.md')
-rw-r--r-- | doc/pages/administration.md | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/pages/administration.md b/doc/pages/administration.md index 02d737aedbb..8df861f70ec 100644 --- a/doc/pages/administration.md +++ b/doc/pages/administration.md @@ -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 the `host` to the FQDN under which GitLab Pages will be served: - ```bash + ```yaml ## GitLab Pages pages: enabled: true @@ -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)**. 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 Pages are part of the regular backup so there is nothing to configure. |