Skip to content

Commit

Permalink
feat(Gitlab): allow longer host names
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Miglinci <[email protected]>
  • Loading branch information
pmig committed Aug 9, 2023
1 parent 2cb45d4 commit 8e7b276
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"X-Forwarded-Port" => "80",
"Host" => ENV['GITLAB_HOST']
}
nginx['server_names_hash_bucket_size'] = 128

gitlab_rails['env'] = {
'MALLOC_CONF' => 'dirty_decay_ms:1000,muzzy_decay_ms:1000'
Expand Down Expand Up @@ -73,6 +74,7 @@
registry_nginx['ssl_certificate'] = "/etc/gitlab/ssl/tls.crt"
registry_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/tls.key"
registry_nginx['real_ip_trusted_addresses'] = ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16']
registry_nginx['server_names_hash_bucket_size'] = 128

if (ENV['REGISTRY_OBJECTSTORE_ENABLED'] == 'true')
registry['storage'] = {
Expand Down

0 comments on commit 8e7b276

Please sign in to comment.