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

correctly use listen_proxy instead of the non ssl port for reverse proxys

parent f2af61b6
Branches
No related tags found
No related merge requests found
...@@ -34,6 +34,12 @@ external_url: 'https://localhost' ...@@ -34,6 +34,12 @@ external_url: 'https://localhost'
# external url for gitlab pages, set to Null to disable # external url for gitlab pages, set to Null to disable
pages_external_url: ~ pages_external_url: ~
# listen settings for gitlab pages
pages_listen: ['[::1]:11181', '127.0.0.1:11181']
pages_listen_ssl: []
# listen_proxy only supports a single bind like 'localhost:8080'
pages_listen_proxy: ''
# external url for the container registry, set to Null to disable # external url for the container registry, set to Null to disable
registry_external_url: ~ registry_external_url: ~
... ...
......
...@@ -6,9 +6,9 @@ gitlab: ...@@ -6,9 +6,9 @@ gitlab:
external_url: 'https://localhost' external_url: 'https://localhost'
path: '/var/opt/gitlab/backups' path: '/var/opt/gitlab/backups'
pages_external_url: ~ pages_external_url: ~
pages_listen: ['[::1]:11181', '127.0.0.1:11181'] pages_listen: []
pages_listen_ssl: [] pages_listen_ssl: []
pages_redirect_http: 'false' pages_listen_proxy: 'localhost:11181'
registry_path: ~ registry_path: ~
registry_external_url: ~ registry_external_url: ~
gitlab_ssh_host: 'localhost' gitlab_ssh_host: 'localhost'
... ...
......
...@@ -1415,7 +1415,7 @@ gitlab_pages['external_https'] = {{ gitlab.pages_listen_ssl|to_json }} ...@@ -1415,7 +1415,7 @@ gitlab_pages['external_https'] = {{ gitlab.pages_listen_ssl|to_json }}
# gitlab_pages['sentry_environment'] = 'production' # gitlab_pages['sentry_environment'] = 'production'
##! Listen for requests forwarded by reverse proxy ##! Listen for requests forwarded by reverse proxy
#gitlab_pages['listen_proxy'] = '' gitlab_pages['listen_proxy'] = '{{ gitlab.pages_listen_proxy }}'
##! Configure GitLab Pages to use an HTTP Proxy ##! Configure GitLab Pages to use an HTTP Proxy
# gitlab_pages['http_proxy'] = "http://example:8080" # gitlab_pages['http_proxy'] = "http://example:8080"
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment