Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2015-12-18 03:20:29 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-02-01 01:53:55 +0300
commit5e8675c15bf5a56764d943918b2260209c002776 (patch)
tree703d3fcae0243f271b210e9522088cecaac09f24 /doc/pages/administration.md
parent31454eb2f0f6bf960be5a51f0d8073672ea621a9 (diff)
Add section on storage path [ci skip]
Diffstat (limited to 'doc/pages/administration.md')
-rw-r--r--doc/pages/administration.md21
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.