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
d309c2c7
Commit
d309c2c7
authored
Feb 19, 2021
by
Ben Bodenmiller
Committed by
Marcin Sedlak-Jakubowski
Feb 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify pages SSL directions when using default file names
parent
4d29bbac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
doc/administration/pages/index.md
doc/administration/pages/index.md
+6
-3
No files found.
doc/administration/pages/index.md
View file @
d309c2c7
...
@@ -178,13 +178,16 @@ outside world.
...
@@ -178,13 +178,16 @@ outside world.
pages_external_url
'https://example.io'
pages_external_url
'https://example.io'
pages_nginx
[
'redirect_http_to_https'
]
=
true
pages_nginx
[
'redirect_http_to_https'
]
=
true
```
1.
If you haven’t named your certificate and key
`example.io.crt`
and
`example.io.key`
then you'll need to also add the full paths as shown below:
```
ruby
pages_nginx
[
'ssl_certificate'
]
=
"/etc/gitlab/ssl/pages-nginx.crt"
pages_nginx
[
'ssl_certificate'
]
=
"/etc/gitlab/ssl/pages-nginx.crt"
pages_nginx
[
'ssl_certificate_key'
]
=
"/etc/gitlab/ssl/pages-nginx.key"
pages_nginx
[
'ssl_certificate_key'
]
=
"/etc/gitlab/ssl/pages-nginx.key"
```
```
where
`pages-nginx.crt`
and
`pages-nginx.key`
are the SSL cert and key,
respectively.
1.
[
Reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
1.
[
Reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
### Additional configuration for Docker container
### Additional configuration for Docker container
...
...
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