Skip to content
Snippets Groups Projects
Verified Commit c30dce63 authored by nd's avatar nd
Browse files

add support to expose nginx directly

parent 1c9880c0
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,9 @@ gitlab:
external_url: 'https://localhost'
path: '/var/opt/gitlab/backups'
pages_external_url: ~
pages_listen: ['[::1]:11181', '127.0.0.1:11181']
pages_listen_ssl: []
pages_redirect_http: 'false'
registry_path: ~
registry_external_url: ~
gitlab_ssh_host: 'localhost'
......
......@@ -1388,10 +1388,10 @@ pages_external_url "{{ gitlab.pages_external_url }}"
gitlab_pages['enable'] = true
##! Configure to expose GitLab Pages on external IP address, serving the HTTP
gitlab_pages['external_http'] = ['[::1]:11181', '127.0.0.1:11181']
gitlab_pages['external_http'] = {{ gitlab.pages_listen|to_json }}
##! Configure to expose GitLab Pages on external IP address, serving the HTTPS
# gitlab_pages['external_https'] = []
gitlab_pages['external_https'] = {{ gitlab.pages_listen_ssl|to_json }}
##! Configure to use the default list of cipher suites
# gitlab_pages['insecure_ciphers'] = false
......@@ -1421,7 +1421,7 @@ gitlab_pages['external_http'] = ['[::1]:11181', '127.0.0.1:11181']
# gitlab_pages['http_proxy'] = "http://example:8080"
#gitlab_pages['redirect_http'] = true
# gitlab_pages['use_http2'] = true
gitlab_pages['use_http2'] = true
# gitlab_pages['dir'] = "/var/opt/gitlab/gitlab-pages"
# gitlab_pages['log_directory'] = "/var/log/gitlab/gitlab-pages"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment