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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
5e8675c1
Commit
5e8675c1
authored
Dec 18, 2015
by
Achilleas Pipinellis
Committed by
James Edwards-Jones
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add section on storage path [ci skip]
parent
31454eb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
doc/pages/administration.md
doc/pages/administration.md
+20
-1
No files found.
doc/pages/administration.md
View file @
5e8675c1
...
@@ -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.
...
...
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