Skip to content

Commit

Permalink
working on nginx ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Mar 19, 2024
1 parent 77ee2cb commit ddf1f08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions roles/gitlab_omnibus/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ gitlab_backup_pg_schema: public
gitlab_backup_archive_permissions: '0644'
gitlab_backup_keep_time: 604800

gitlab_nginx_listen_addresses:
- '*'
- '[::]'

# Passthrough all downloads via GitLab instead of using Redirects to Object Storage.
# ? https://docs.gitlab.com/ee/administration/object_storage.html#proxy-download
gitlab_object_store_proxy_download: true
Expand Down
4 changes: 2 additions & 2 deletions roles/gitlab_omnibus/templates/gitlab.rb.j2
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ gitlab_rails['backup_keep_time'] = {{ gitlab_backup_keep_time }}
##! Docs: https://docs.gitlab.com/ee/administration/packages/container_registry.html
################################################################################

# registry_external_url 'https://registry.example.com'
#registry_external_url 'https://registry.example.com'

### Settings used by GitLab application
# gitlab_rails['registry_enabled'] = true
Expand Down Expand Up @@ -1708,7 +1708,7 @@ nginx['ssl_protocols'] = "TLSv1.3"

# nginx['ssl_dhparam'] = nil # Path to dhparams.pem, eg. /etc/gitlab/ssl/dhparams.pem
# nginx['ssl_password_file'] = nil # Path to file with passphrases for ssl certificate secret keys
# nginx['listen_addresses'] = ['*', '[::]']
nginx['listen_addresses'] = {{ gitlab_nginx_listen_addresses | to_json }}

##! **Defaults to forcing web browsers to always communicate using only HTTPS**
##! Docs: https://docs.gitlab.com/omnibus/settings/nginx.html#setting-http-strict-transport-security
Expand Down

0 comments on commit ddf1f08

Please sign in to comment.