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
d556719a
Commit
d556719a
authored
Dec 06, 2021
by
Vladimir Shushlin
Committed by
Russell Dickenson
Dec 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify pages_exernal_url docs
parent
2498f1e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
doc/administration/pages/index.md
doc/administration/pages/index.md
+8
-4
No files found.
doc/administration/pages/index.md
View file @
d556719a
...
...
@@ -144,7 +144,8 @@ The Pages daemon doesn't listen to the outside world.
1.
Set the external URL for GitLab Pages in
`/etc/gitlab/gitlab.rb`
:
```
ruby
pages_external_url
'http://example.io'
external_url
"http://gitlab.example.com"
# external_url here is only for reference
pages_external_url
"http://pages.example.com"
# not a subdomain of external_url
```
1.
[
Reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
...
...
@@ -169,7 +170,8 @@ outside world.
1.
In
`/etc/gitlab/gitlab.rb`
specify the following configuration:
```
ruby
pages_external_url
'https://example.io'
external_url
"https://gitlab.example.com"
# external_url here is only for reference
pages_external_url
"https://pages.example.com"
# not a subdomain of external_url
pages_nginx
[
'redirect_http_to_https'
]
=
true
```
...
...
@@ -288,7 +290,8 @@ world. Custom domains are supported, but no TLS.
1.
In
`/etc/gitlab/gitlab.rb`
specify the following configuration:
```
ruby
pages_external_url
"http://example.io"
external_url
"http://gitlab.example.com"
# external_url here is only for reference
pages_external_url
"http://pages.example.com"
# not a subdomain of external_url
nginx
[
'listen_addresses'
]
=
[
'192.0.2.1'
]
# The primary IP of the GitLab instance
pages_nginx
[
'enable'
]
=
false
gitlab_pages
[
'external_http'
]
=
[
'192.0.2.2:80'
,
'[2001:db8::2]:80'
]
# The secondary IPs for the GitLab Pages daemon
...
...
@@ -318,7 +321,8 @@ world. Custom domains and TLS are supported.
1.
In
`/etc/gitlab/gitlab.rb`
specify the following configuration:
```
ruby
pages_external_url
"https://example.io"
external_url
"https://gitlab.example.com"
# external_url here is only for reference
pages_external_url
"https://pages.example.com"
# not a subdomain of external_url
nginx
[
'listen_addresses'
]
=
[
'192.0.2.1'
]
# The primary IP of the GitLab instance
pages_nginx
[
'enable'
]
=
false
gitlab_pages
[
'external_http'
]
=
[
'192.0.2.2:80'
,
'[2001:db8::2]:80'
]
# The secondary IPs for the GitLab Pages daemon
...
...
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