Skip to content
代码片段 群组 项目
提交 33a4b3bf 编辑于 作者: Achilleas Pipinellis's avatar Achilleas Pipinellis
浏览文件

Add remaining Omnibus configs

上级 efea1e6d
No related branches found
No related tags found
无相关合并请求
...@@ -217,6 +217,23 @@ Below are the four scenarios that are described in ...@@ -217,6 +217,23 @@ Below are the four scenarios that are described in
**Omnibus installations:** **Omnibus installations:**
1. Edit `/etc/gitlab/gitlab.rb`:
```ruby
nginx['listen_addresses'] = ['1.1.1.1']
pages_nginx['enable'] = false
gitlab_pages['external_http'] = '1.1.1.2:80'
gitlab_pages['external_https'] = '1.1.1.2:443'
```
where `1.1.1.1` is the primary IP address that GitLab is listening to and
`1.1.1.2` the secondary IP where the GitLab Pages daemon listens to.
Read more at the
[NGINX configuration for custom domains](#nginx-configuration-for-custom-domains)
section.
1. [Reconfigure GitLab][reconfigure]
### Custom domains without HTTPS support ### Custom domains without HTTPS support
**Source installations:** **Source installations:**
...@@ -266,6 +283,22 @@ Below are the four scenarios that are described in ...@@ -266,6 +283,22 @@ Below are the four scenarios that are described in
**Omnibus installations:** **Omnibus installations:**
1. Edit `/etc/gitlab/gitlab.rb`:
```ruby
nginx['listen_addresses'] = ['1.1.1.1']
pages_nginx['enable'] = false
gitlab_pages['external_http'] = '1.1.1.2:80'
```
where `1.1.1.1` is the primary IP address that GitLab is listening to and
`1.1.1.2` the secondary IP where the GitLab Pages daemon listens to.
Read more at the
[NGINX configuration for custom domains](#nginx-configuration-for-custom-domains)
section.
1. [Reconfigure GitLab][reconfigure]
### Wildcard HTTP domain without custom domains ### Wildcard HTTP domain without custom domains
**Source installations:** **Source installations:**
...@@ -313,6 +346,7 @@ Below are the four scenarios that are described in ...@@ -313,6 +346,7 @@ Below are the four scenarios that are described in
```ruby ```ruby
pages_external_url 'http://example.io' pages_external_url 'http://example.io'
``` ```
1. [Reconfigure GitLab][reconfigure] 1. [Reconfigure GitLab][reconfigure]
### Wildcard HTTPS domain without custom domains ### Wildcard HTTPS domain without custom domains
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册