· 9 years ago · Sep 28, 2016, 09:06 PM
1## Configuration options with # in front are not active and they were
2## valid at install time. Updating the package does not update this file
3## automatically.
4## Latest options listed at:
5## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template
6
7
8## Url on which GitLab will be reachable.
9## For more details on configuring external_url see:
10## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/configuration.md#configuring-the-external-url-for-gitlab
11external_url 'https://gitlab.lanzone.eu'
12
13
14## Note: configuration settings below are optional.
15## Uncomment and change the value.
16############################
17# gitlab.yml configuration #
18############################
19
20# gitlab_rails['gitlab_ssh_host'] = 'ssh.host_example.com'
21# gitlab_rails['time_zone'] = 'UTC'
22# gitlab_rails['gitlab_email_enabled'] = true
23# gitlab_rails['gitlab_email_from'] = 'example@example.com'
24# gitlab_rails['gitlab_email_display_name'] = 'Example'
25# gitlab_rails['gitlab_email_reply_to'] = 'noreply@example.com'
26# gitlab_rails['gitlab_default_can_create_group'] = true
27# gitlab_rails['gitlab_username_changing_enabled'] = true
28# gitlab_rails['gitlab_default_theme'] = 2
29# gitlab_rails['gitlab_default_projects_features_issues'] = true
30# See http://doc.gitlab.com/ce/customization/issue_closing.html for more information about this pattern.
31# gitlab_rails['gitlab_issue_closing_pattern'] = "((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)"
32# gitlab_rails['gitlab_default_projects_features_merge_requests'] = true
33# gitlab_rails['gitlab_default_projects_features_wiki'] = true
34# gitlab_rails['gitlab_default_projects_features_snippets'] = false
35# gitlab_rails['gitlab_default_projects_features_builds'] = true
36# gitlab_rails['gitlab_default_projects_features_container_registry'] = true
37# gitlab_rails['gitlab_repository_downloads_path'] = 'tmp/repositories'
38# gitlab_rails['gravatar_plain_url'] = 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon'
39# gitlab_rails['gravatar_ssl_url'] = 'https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon'
40# gitlab_rails['stuck_ci_builds_worker_cron'] = "0 0 * * *"
41
42# See http://docs.gitlab.com/ce/ci/yaml/README.html#artifacts:expire_in
43# gitlab_rails['expire_build_artifacts_worker_cron'] = "50 * * * *"
44
45# gitlab_rails['repository_check_worker_cron'] = "20 * * * *"
46# gitlab_rails['admin_email_worker_cron'] = "0 0 * * 0"
47# gitlab_rails['repository_archive_cache_worker_cron'] = "0 * * * *"
48# gitlab_rails['historical_data_worker_cron'] = "0 12 * * *"
49# gitlab_rails['update_all_mirrors_worker_cron'] = "0 * * * *"
50# gitlab_rails['update_all_remote_mirrors_worker_cron'] = "30 * * * *"
51# gitlab_rails['ldap_sync_worker_cron'] = "30 1 * * *"
52# gitlab_rails['geo_bulk_notify_worker_cron'] = "*/10 * * * * *"
53# gitlab_rails['webhook_timeout'] = 10
54# gitlab_rails['trusted_proxies'] = []
55
56## Reply by email
57# Allow users to comment on issues and merge requests by replying to notification emails.
58# For documentation on how to set this up, see http://doc.gitlab.com/ce/incoming_email/README.html
59# gitlab_rails['incoming_email_enabled'] = true
60#
61# # The email address including the `%{key}` placeholder that will be replaced to reference the item being replied to.
62# # The placeholder can be omitted but if present, it must appear in the "user" part of the address (before the `@`).
63# gitlab_rails['incoming_email_address'] = "gitlab-incoming+%{key}@gmail.com"
64#
65# # Email account username
66# # With third party providers, this is usually the full email address.
67# # With self-hosted email servers, this is usually the user part of the email address.
68# gitlab_rails['incoming_email_email'] = "gitlab-incoming@gmail.com"
69# # Email account password
70# gitlab_rails['incoming_email_password'] = "[REDACTED]"
71#
72# # IMAP server host
73# gitlab_rails['incoming_email_host'] = "imap.gmail.com"
74# # IMAP server port
75# gitlab_rails['incoming_email_port'] = 993
76# # Whether the IMAP server uses SSL
77# gitlab_rails['incoming_email_ssl'] = true
78# # Whether the IMAP server uses StartTLS
79# gitlab_rails['incoming_email_start_tls'] = false
80#
81# # The mailbox where incoming mail will end up. Usually "inbox".
82# gitlab_rails['incoming_email_mailbox_name'] = "inbox"
83#
84# gitlab_rails['incoming_email_log_directory'] = "/var/log/gitlab/mailroom"
85
86## Build Artifacts
87# gitlab_rails['artifacts_enabled'] = true
88# gitlab_rails['artifacts_path'] = "/mnt/storage/artifacts"
89
90## Git LFS
91# gitlab_rails['lfs_enabled'] = true
92# gitlab_rails['lfs_storage_path'] = "/mnt/storage/lfs-objects"
93
94## ElasticSearch (EE only)
95# gitlab_rails['elasticsearch_enabled'] = false
96# gitlab_rails['elasticsearch_host'] = "localhost"
97# gitlab_rails['elasticsearch_port'] = 9200
98
99## GitLab Pages (EE only)
100# gitlab_rails['pages_path'] = "/mnt/storage/pages"
101
102## For setting up LDAP
103## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#setting-up-ldap-sign-in
104## Be careful not to break the identation in the ldap_servers block. It is in
105## yaml format and the spaces must be retained. Using tabs will not work.
106
107gitlab_rails['ldap_enabled'] = true
108gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below
109 main: # 'main' is the GitLab 'provider ID' of this LDAP server
110 label: 'LDAP'
111 host: '127.0.0.1'
112 port: 389
113 uid: 'uid'
114 method: 'plain' # "tls" or "ssl" or "plain"
115 bind_dn: 'cn=admin,dc=low-tech,dc=eu'
116 password: ''
117 active_directory: false
118 allow_username_or_email_login: false
119 block_auto_created_users: false
120 base: 'ou=users,dc=low-tech,dc=eu'
121 user_filter: ''
122 attributes:
123 username: ['uid', 'userid', 'sAMAccountName']
124 email: ['mail', 'email', 'userPrincipalName']
125 name: 'cn'
126 first_name: 'givenName'
127 last_name: 'sn'
128# ## EE only
129# group_base: ''
130# admin_group: ''
131# sync_ssh_keys: false
132#
133# secondary: # 'secondary' is the GitLab 'provider ID' of second LDAP server
134# label: 'LDAP'
135# host: '_your_ldap_server'
136# port: 389
137# uid: 'sAMAccountName'
138# method: 'plain' # "tls" or "ssl" or "plain"
139# bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
140# password: '_the_password_of_the_bind_user'
141# active_directory: true
142# allow_username_or_email_login: false
143# block_auto_created_users: false
144# base: ''
145# user_filter: ''
146# attributes:
147# username: ['uid', 'userid', 'sAMAccountName']
148# email: ['mail', 'email', 'userPrincipalName']
149# name: 'cn'
150# first_name: 'givenName'
151# last_name: 'sn'
152# ## EE only
153# group_base: ''
154# admin_group: ''
155# sync_ssh_keys: false
156EOS
157
158## Setting up Kerberos (EE only)
159## See http://doc.gitlab.com/ee/integration/kerberos.html#http-git-access
160# gitlab_rails['kerberos_enabled'] = true
161# gitlab_rails['kerberos_keytab'] = /etc/http.keytab
162# gitlab_rails['kerberos_service_principal_name'] = HTTP/gitlab.example.com@EXAMPLE.COM
163# gitlab_rails['kerberos_use_dedicated_port'] = true
164# gitlab_rails['kerberos_port'] = 8443
165# gitlab_rails['kerberos_https'] = true
166
167## For setting up omniauth
168## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#omniauth-google-twitter-github-login
169
170# gitlab_rails['omniauth_enabled'] = false
171# gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
172# gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'saml'
173# gitlab_rails['omniauth_block_auto_created_users'] = true
174# gitlab_rails['omniauth_auto_link_ldap_user'] = false
175# gitlab_rails['omniauth_auto_link_saml_user'] = false
176# gitlab_rails['omniauth_external_providers'] = ['twitter', 'google_oauth2']
177# gitlab_rails['omniauth_providers'] = [
178# {
179# "name" => "google_oauth2",
180# "app_id" => "YOUR APP ID",
181# "app_secret" => "YOUR APP SECRET",
182# "args" => { "access_type" => "offline", "approval_prompt" => "" }
183# }
184# ]
185#
186# If you setup bitbucket importer under omniauth providers you will need to add the keys
187# which will allow connection between bitbucket and gitlab.
188# For details see http://doc.gitlab.com/ce/integration/bitbucket.html
189# gitlab_rails['bitbucket'] = {
190# 'known_hosts_key' => 'bitbucket.org,207.223.240.182 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==',
191# 'private_key' => '-----BEGIN RSA PRIVATE KEY-----
192# MIIEowIBAAKCAQEAyXxYHwz2KjcwSjTREwlhYHqrf/8U0UM8ej3cqQ551gE4Wo3t
193# -----END RSA PRIVATE KEY-----',
194# 'public_key' => 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJfFgfDPYqN git@gitlab.example.com'
195# }
196
197## For setting up backups
198## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#backups
199
200# gitlab_rails['manage_backup_path'] = true
201# gitlab_rails['backup_path'] = "/var/opt/gitlab/backups"
202# gitlab_rails['backup_archive_permissions'] = 0644 # See: http://doc.gitlab.com/ce/raketasks/backup_restore.html#backup-archive-permissions
203# gitlab_rails['backup_pg_schema'] = 'public'
204# gitlab_rails['backup_keep_time'] = 604800
205# gitlab_rails['backup_upload_connection'] = {
206# 'provider' => 'AWS',
207# 'region' => 'eu-west-1',
208# 'aws_access_key_id' => 'AKIAKIAKI',
209# 'aws_secret_access_key' => 'secret123'
210# }
211# gitlab_rails['backup_upload_remote_directory'] = 'my.s3.bucket'
212# gitlab_rails['backup_multipart_chunk_size'] = 104857600
213# gitlab_rails['backup_encryption'] = 'AES256' # Turns on AWS Server-Side Encryption with Amazon S3-Managed Keys for backups
214
215## For setting up different data storing directory
216## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#storing-git-data-in-an-alternative-directory
217## If you want to use a single non-default directory to store git data use
218## a path that doesn't contain symlinks.
219# git_data_dirs({"default" => "/var/opt/gitlab/git-data"})
220
221## For storing GitLab application uploads, eg. LFS objects, build artifacts
222## see https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/shared_files.md
223# gitlab_rails['shared_path'] = '/var/opt/gitlab/gitlab-rails/shared'
224
225# DEPRECATED: gitlab_rails['satellites_timeout'] = 30
226
227## GitLab Shell settings for GitLab
228# gitlab_rails['gitlab_shell_ssh_port'] = 22
229# gitlab_rails['git_max_size'] = 20971520
230# gitlab_rails['git_timeout'] = 10
231
232## Extra customization
233# gitlab_rails['extra_google_analytics_id'] = '_your_tracking_id'
234# gitlab_rails['extra_piwik_url'] = '_your_piwik_url'
235# gitlab_rails['extra_piwik_site_id'] = '_your_piwik_site_id'
236
237# gitlab_rails['env'] = {
238# 'BUNDLE_GEMFILE' => "/opt/gitlab/embedded/service/gitlab-rails/Gemfile",
239# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin"
240# }
241
242# gitlab_rails['rack_attack_git_basic_auth'] = {
243# 'enabled' => true,
244# 'ip_whitelist' => ["127.0.0.1"],
245# 'maxretry' => 10,
246# 'findtime' => 60,
247# 'bantime' => 3600
248# }
249
250# We do not recommend changing these directories.
251# gitlab_rails['dir'] = "/var/opt/gitlab/gitlab-rails"
252# gitlab_rails['log_directory'] = "/var/log/gitlab/gitlab-rails"
253
254###############################
255# GitLab application settings #
256###############################
257
258# gitlab_rails['uploads_directory'] = "/var/opt/gitlab/gitlab-rails/uploads"
259# gitlab_rails['rate_limit_requests_per_period'] = 10
260# gitlab_rails['rate_limit_period'] = 60
261
262# Change the initial default admin password.
263# Only applicable on inital setup, changing this setting after database is created and seeded
264# won't yield any change.
265# gitlab_rails['initial_root_password'] = "password"
266
267# Enable or disable automatic database migrations
268# gitlab_rails['auto_migrate'] = true
269
270############################
271# GitLab database settings #
272############################
273## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/database.md#database-settings
274## Only needed if you use an external database.
275
276# gitlab_rails['db_adapter'] = "postgresql"
277# gitlab_rails['db_encoding'] = "unicode"
278# gitlab_rails['db_collation'] = nil
279# gitlab_rails['db_database'] = "gitlabhq_production"
280# gitlab_rails['db_pool'] = 10
281# gitlab_rails['db_username'] = "gitlab"
282# gitlab_rails['db_password'] = nil
283# gitlab_rails['db_host'] = nil
284# gitlab_rails['db_port'] = 5432
285# gitlab_rails['db_socket'] = nil
286# gitlab_rails['db_sslmode'] = nil
287# gitlab_rails['db_sslrootcert'] = nil
288
289
290#########################
291# GitLab redis settings #
292#########################
293## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/redis.md#redis-settings
294## Connect to your own redis instance.
295
296## Redis TCP connection
297# gitlab_rails['redis_host'] = "127.0.0.1"
298# gitlab_rails['redis_port'] = 6379
299# gitlab_rails['redis_password'] = nil
300# gitlab_rails['redis_database'] = 0
301
302## Redis local UNIX socket (will be disabled if TCP method is used)
303# gitlab_rails['redis_socket'] = "/var/opt/gitlab/redis/redis.socket"
304
305## Sentinel support
306## To have sentinel working, you must enable Redis TCP connection support
307## above ## and define a few sentinel hosts below (to get a reliable setup
308## at least 3 hosts).
309## You don't need to list every sentinel host, but the ones unlisted will
310## not be used in a fail-over situation to query for the new master.
311# gitlab_rails['redis_sentinels'] = [
312# {'host' => '127.0.0.1', 'port' => 26379},
313# ]
314
315################################
316# GitLab email server settings #
317################################
318# see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md#smtp-settings
319# Use smtp instead of sendmail/postfix.
320
321# gitlab_rails['smtp_enable'] = true
322# gitlab_rails['smtp_address'] = "smtp.server"
323# gitlab_rails['smtp_port'] = 465
324# gitlab_rails['smtp_user_name'] = "smtp user"
325# gitlab_rails['smtp_password'] = "smtp password"
326# gitlab_rails['smtp_domain'] = "example.com"
327# gitlab_rails['smtp_authentication'] = "login"
328# gitlab_rails['smtp_enable_starttls_auto'] = true
329# gitlab_rails['smtp_tls'] = false
330# gitlab_rails['smtp_openssl_verify_mode'] = 'none' # Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert', see http://api.rubyonrails.org/classes/ActionMailer/Base.html
331# gitlab_rails['smtp_ca_path'] = "/etc/ssl/certs"
332# gitlab_rails['smtp_ca_file'] = "/etc/ssl/certs/ca-certificates.crt"
333
334###############################
335# Container registry settings #
336###############################
337# see http://docs.gitlab.com/ce/administration/container_registry.html
338#
339
340# registry_external_url 'https://registry.gitlab.example.com'
341
342# Settings used by GitLab application
343# gitlab_rails['registry_enabled'] = true
344# gitlab_rails['registry_host'] = "registry.gitlab.example.com"
345# gitlab_rails['registry_port'] = "5005"
346# gitlab_rails['registry_api_url'] = "http://localhost:5000"
347# gitlab_rails['registry_key_path'] = "/var/opt/gitlab/gitlab-rails/certificate.key"
348# gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
349# gitlab_rails['registry_issuer'] = "omnibus-gitlab-issuer"
350
351# Settings used by Registry application
352# registry['enable'] = true
353# registry['username'] = "registry"
354# registry['group'] = "registry"
355# registry['uid'] = nil
356# registry['gid'] = nil
357# registry['dir'] = "/var/opt/gitlab/registry"
358# registry['log_directory'] = "/var/log/gitlab/registry"
359# registry['log_level'] = "info"
360# registry['rootcertbundle'] = "/var/opt/gitlab/registry/certificate.crt"
361# registry['storage_delete_enabled'] = true
362# # Registry backend storage, see http://docs.gitlab.com/ce/administration/container_registry.html#container-registry-storage-driver
363# registry['storage'] = {
364# 's3' => {
365# 'accesskey' => 'AKIAKIAKI',
366# 'secretkey' => 'secret123',
367# 'bucket' => 'gitlab-registry-bucket-AKIAKIAKI'
368# }
369# }
370
371####################
372# GitLab Workhorse #
373####################
374# see https://gitlab.com/gitlab-org/gitlab-workhorse/blob/master/README.md
375
376# gitlab_workhorse['enable'] = true
377# gitlab_workhorse['ha'] = false
378# gitlab_workhorse['listen_network'] = "unix"
379# gitlab_workhorse['listen_umask'] = 000
380# gitlab_workhorse['listen_addr'] = "/var/opt/gitlab/gitlab-workhorse/socket"
381# gitlab_workhorse['auth_backend'] = "http://localhost:8080"
382# gitlab_workhorse['auth_socket'] = "''" # the empty string is the default in gitlab-workhorse option parser
383# gitlab_workhorse['pprof_listen_addr'] = "''" # put an empty string on the command line
384# gitlab_workhorse['dir'] = "/var/opt/gitlab/gitlab-workhorse"
385# gitlab_workhorse['log_directory'] = "/var/log/gitlab/gitlab-workhorse"
386# gitlab_workhorse['proxy_headers_timeout'] = "1m0s"
387# gitlab_workhorse['env'] = {
388# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin"
389# }
390
391###############
392# GitLab user #
393###############
394## see https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/README.md#changing-the-name-of-the-git-user-group
395## Modify default git user.
396
397
398# user['username'] = "git"
399# user['group'] = "git"
400# user['uid'] = nil
401# user['gid'] = nil
402# # The shell for the git user
403# user['shell'] = "/bin/sh"
404# # The home directory for the git user
405# user['home'] = "/var/opt/gitlab"
406# user['git_user_name'] = "GitLab"
407# user['git_user_email'] = "gitlab@#{node['fqdn']}"
408
409##################
410# GitLab Unicorn #
411##################
412## Tweak unicorn settings.
413
414# unicorn['worker_timeout'] = 60
415# unicorn['worker_processes'] = 2
416
417## Advanced settings
418unicorn['listen'] = '127.0.0.1'
419unicorn['port'] = 9000
420# unicorn['socket'] = '/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket'
421# unicorn['pidfile'] = '/opt/gitlab/var/unicorn/unicorn.pid'
422# unicorn['tcp_nopush'] = true
423# unicorn['backlog_socket'] = 1024
424# Make sure somaxconn is equal or higher then backlog_socket
425# unicorn['somaxconn'] = 1024
426# We do not recommend changing this setting
427# unicorn['log_directory'] = "/var/log/gitlab/unicorn"
428
429## Only change these settings if you understand well what they mean
430## see https://about.gitlab.com/2015/06/05/how-gitlab-uses-unicorn-and-unicorn-worker-killer/
431## and https://github.com/kzk/unicorn-worker-killer
432# unicorn['worker_memory_limit_min'] = "400 * 1 << 20"
433# unicorn['worker_memory_limit_max'] = "650 * 1 << 20"
434
435
436##################
437# GitLab Sidekiq #
438##################
439
440# sidekiq['log_directory'] = "/var/log/gitlab/sidekiq"
441# sidekiq['shutdown_timeout'] = 4
442# sidekiq['concurrency'] = 25
443
444
445################
446# gitlab-shell #
447################
448
449# gitlab_shell['audit_usernames'] = false
450# gitlab_shell['log_level'] = 'INFO'
451# gitlab_shell['http_settings'] = { user: 'username', password: 'password', ca_file: '/etc/ssl/cert.pem', ca_path: '/etc/pki/tls/certs', self_signed_cert: false}
452# gitlab_shell['log_directory'] = "/var/log/gitlab/gitlab-shell/"
453
454## If enabled, git-annex needs to be installed on the server where gitlab is setup
455# For Debian and Ubuntu systems this can be done with: sudo apt-get install git-annex
456# For CentOS: sudo yum install epel-release && sudo yum install git-annex
457# gitlab_shell['git_annex_enabled'] = false
458
459# gitlab_shell['auth_file'] = "/var/opt/gitlab/.ssh/authorized_keys"
460
461
462#####################
463# GitLab PostgreSQL #
464#####################
465
466# postgresql['enable'] = true
467# postgresql['listen_address'] = nil
468# postgresql['port'] = 5432
469# postgresql['data_dir'] = "/var/opt/gitlab/postgresql/data"
470# postgresql['shared_buffers'] = "256MB" # recommend value is 1/4 of total RAM, up to 14GB.
471
472## Advanced settings
473# postgresql['ha'] = false
474# postgresql['dir'] = "/var/opt/gitlab/postgresql"
475# postgresql['log_directory'] = "/var/log/gitlab/postgresql"
476# postgresql['username'] = "gitlab-psql"
477# postgresql['uid'] = nil
478# postgresql['gid'] = nil
479# postgresql['shell'] = "/bin/sh"
480# postgresql['home'] = "/var/opt/gitlab/postgresql"
481# postgresql['user_path'] = "/opt/gitlab/embedded/bin:/opt/gitlab/bin:$PATH"
482# postgresql['sql_user'] = "gitlab"
483# postgresql['sql_ci_user'] = "gitlab_ci"
484# postgresql['max_connections'] = 200
485# postgresql['md5_auth_cidr_addresses'] = []
486# postgresql['trust_auth_cidr_addresses'] = []
487# postgresql['shmmax'] = 17179869184 # or 4294967295
488# postgresql['shmall'] = 4194304 # or 1048575
489# postgresql['work_mem'] = "8MB"
490# postgresql['maintenance_work_mem'] = "16MB"
491# postgresql['effective_cache_size'] = "1MB"
492# postgresql['checkpoint_segments'] = 10
493# postgresql['checkpoint_timeout'] = "5min"
494# postgresql['checkpoint_completion_target'] = 0.9
495# postgresql['checkpoint_warning'] = "30s"
496# postgresql['wal_buffers'] = "-1"
497# postgresql['autovacuum'] = "on"
498# postgresql['log_autovacuum_min_duration'] = "-1"
499# postgresql['autovacuum_max_workers'] = "3"
500# postgresql['autovacuum_naptime'] = "1min"
501# postgresql['autovacuum_vacuum_threshold'] = "50"
502# postgresql['autovacuum_analyze_threshold'] = "50"
503# postgresql['autovacuum_vacuum_scale_factor'] = "0.02"
504# postgresql['autovacuum_analyze_scale_factor'] = "0.01"
505# postgresql['autovacuum_freeze_max_age'] = "200000000"
506# postgresql['autovacuum_vacuum_cost_delay'] = "20ms"
507# postgresql['autovacuum_vacuum_cost_limit'] = "-1"
508# postgresql['statement_timeout'] = "0"
509# postgresql['log_line_prefix'] = "%a"
510# postgresql['track_activity_query_size'] = "1024"
511# postgresql['shared_preload_libraries'] = nil
512
513## Replication settings
514# postgresql['sql_replication_user'] = "gitlab_replicator"
515# postgresql['wal_level'] = "hot_standby"
516# postgresql['max_wal_senders'] = 5
517# postgresql['wal_keep_segments'] = 10
518# postgresql['hot_standby'] = "off"
519
520################
521# GitLab Redis #
522################
523## Can be disabled if you are using your own redis instance.
524
525# redis['enable'] = true
526# redis['username'] = "gitlab-redis"
527# redis['maxclients'] = "10000"
528# redis['tcp_timeout'] = "60"
529# redis['tcp_keepalive'] = "300"
530# redis['uid'] = nil
531# redis['gid'] = nil
532
533## Redis Sentinel support
534## You need a master slave redis replication to be able to do failover
535## Please read the documentation before enabling it to understand the
536## caveats: https://docs.gitlab.com/ce/administration/high_availability/redis.html
537
538## Redis TCP support (will disable UNIX socket transport)
539# redis['bind'] = '0.0.0.0' # or specify an IP to bind to a single one
540# redis['port'] = 6379
541
542## Master redis instance (if this will act as a master instance uncomment and fill below)
543# redis['password'] = '<huge password string here>' # Only define this in the master instance
544
545## Slave redis instance (if this will act as a slave / standby redis instance uncomment and fill below)
546# redis['master_ip'] = nil
547# redis['master_port'] = nil
548# redis['master_password'] = nil
549
550
551#####################
552# GitLab Web server #
553#####################
554## see: https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc/settings/nginx.md#using-a-non-bundled-web-server
555## When bundled nginx is disabled we need to add the external webserver user to the GitLab webserver group.
556
557# web_server['external_users'] = []
558# web_server['username'] = 'gitlab-www'
559# web_server['group'] = 'gitlab-www'
560# web_server['uid'] = nil
561# web_server['gid'] = nil
562# web_server['shell'] = '/bin/false'
563# web_server['home'] = '/var/opt/gitlab/nginx'
564
565
566################
567# GitLab Nginx #
568################
569## see: https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc/settings/nginx.md
570
571nginx['enable'] = false
572# nginx['client_max_body_size'] = '250m'
573# nginx['redirect_http_to_https'] = false
574# nginx['redirect_http_to_https_port'] = 80
575# nginx['ssl_client_certificate'] = "/etc/gitlab/ssl/ca.crt" # Most root CA's are included by default
576# nginx['ssl_verify_client'] = "off" # enable/disable 2-way SSL client authentication
577# nginx['ssl_verify_depth'] = "1" # if ssl_verify_client on, verification depth in the client certificates chain
578# nginx['ssl_certificate'] = "/etc/gitlab/ssl/#{node['fqdn']}.crt"
579# nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/#{node['fqdn']}.key"
580# nginx['ssl_ciphers'] = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256"
581# nginx['ssl_prefer_server_ciphers'] = "on"
582# nginx['ssl_protocols'] = "TLSv1 TLSv1.1 TLSv1.2" # recommended by https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html & https://cipherli.st/
583# nginx['ssl_session_cache'] = "builtin:1000 shared:SSL:10m" # recommended in http://nginx.org/en/docs/http/ngx_http_ssl_module.html
584# nginx['ssl_session_timeout'] = "5m" # default according to http://nginx.org/en/docs/http/ngx_http_ssl_module.html
585# nginx['ssl_dhparam'] = nil # Path to dhparams.pem, eg. /etc/gitlab/ssl/dhparams.pem
586# nginx['listen_addresses'] = ['*']
587# nginx['listen_port'] = nil # override only if you use a reverse proxy: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#setting-the-nginx-listen-port
588# nginx['listen_https'] = nil # override only if your reverse proxy internally communicates over HTTP: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
589# nginx['custom_gitlab_server_config'] = "location ^~ /foo-namespace/bar-project/raw/ {\n deny all;\n}\n"
590# nginx['custom_nginx_config'] = "include /etc/nginx/conf.d/example.conf;"
591# nginx['proxy_read_timeout'] = 3600
592# nginx['proxy_connect_timeout'] = 300
593# nginx['proxy_set_headers'] = {
594# "Host" => "$http_host",
595# "X-Real-IP" => "$remote_addr",
596# "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
597# "X-Forwarded-Proto" => "https",
598# "X-Forwarded-Ssl" => "on"
599# }
600# nginx['proxy_cache_path'] = 'proxy_cache keys_zone=gitlab:10m max_size=1g levels=1:2'
601# nginx['proxy_cache'] = 'gitlab'
602# nginx['http2_enabled'] = true
603# nginx['real_ip_trusted_addresses'] = []
604# nginx['real_ip_header'] = nil
605# nginx['real_ip_recursive'] = nil
606
607## Advanced settings
608# nginx['dir'] = "/var/opt/gitlab/nginx"
609# nginx['log_directory'] = "/var/log/gitlab/nginx"
610# nginx['worker_processes'] = 4
611# nginx['worker_connections'] = 10240
612# nginx['log_format'] = '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'
613# nginx['sendfile'] = 'on'
614# nginx['tcp_nopush'] = 'on'
615# nginx['tcp_nodelay'] = 'on'
616# nginx['gzip'] = "on"
617# nginx['gzip_http_version'] = "1.0"
618# nginx['gzip_comp_level'] = "2"
619# nginx['gzip_proxied'] = "any"
620# nginx['gzip_types'] = [ "text/plain", "text/css", "application/x-javascript", "text/xml", "application/xml", "application/xml+rss", "text/javascript", "application/json" ]
621# nginx['keepalive_timeout'] = 65
622# nginx['cache_max_size'] = '5000m'
623# nginx['server_names_hash_bucket_size'] = 64
624
625
626
627##################
628# GitLab Logging #
629##################
630## see: https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/README.md#logs
631
632# logging['svlogd_size'] = 200 * 1024 * 1024 # rotate after 200 MB of log data
633# logging['svlogd_num'] = 30 # keep 30 rotated log files
634# logging['svlogd_timeout'] = 24 * 60 * 60 # rotate after 24 hours
635# logging['svlogd_filter'] = "gzip" # compress logs with gzip
636# logging['svlogd_udp'] = nil # transmit log messages via UDP
637# logging['svlogd_prefix'] = nil # custom prefix for log messages
638# logging['logrotate_frequency'] = "daily" # rotate logs daily
639# logging['logrotate_size'] = nil # do not rotate by size by default
640# logging['logrotate_rotate'] = 30 # keep 30 rotated logs
641# logging['logrotate_compress'] = "compress" # see 'man logrotate'
642# logging['logrotate_method'] = "copytruncate" # see 'man logrotate'
643# logging['logrotate_postrotate'] = nil # no postrotate command by default
644# logging['logrotate_dateformat'] = nil # use date extensions for rotated files rather than numbers e.g. a value of "-%Y-%m-%d" would give rotated files like production.log-2016-03-09.gz
645# Enterprise Edition only
646# logging['udp_log_shipping_host'] = nil # remote host to ship log messages to via UDP
647# logging['udp_log_shipping_port'] = 514 # remote host to ship log messages to via UDP
648
649#############
650# Logrotate #
651#############
652## see: https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/README.md#logrotate
653## You can disable built in logrotate feature.
654
655# logrotate['enable'] = true
656
657#############################
658# Users and groups accounts #
659#############################
660## Disable management of users and groups accounts.
661## Set only if creating accounts manually
662## See: http://doc.gitlab.com/omnibus/settings/configuration.html#disable-user-and-group-account-management
663# manage_accounts['enable'] = false
664
665#######################
666# Storage directories #
667#######################
668## Disable managing storage directories
669## Set only if the select directories are created manually
670## See: http://doc.gitlab.com/omnibus/settings/configuration.html#disable-storage-directories-management
671# manage_storage_directories['enable'] = false
672
673#######
674# Git #
675#######
676## Advanced setting for configuring git system settings for omnibus-gitlab internal git
677## For multiple options under one header use array of comma separated values, eg.
678## { "receive" => ["fsckObjects = true"], "alias" => ["st = status", "co = checkout"] }
679
680# omnibus_gitconfig['system'] = { "receive" => ["fsckObjects = true"] }
681
682#############
683# GitLab CI #
684#############
685## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/gitlab-ci/README.md
686
687# gitlab_ci['gitlab_ci_all_broken_builds'] = true
688# gitlab_ci['gitlab_ci_add_pusher'] = true
689# gitlab_ci['builds_directory'] = '/var/opt/gitlab/gitlab-ci/builds'
690
691# DEPRECATED
692# ci_external_url 'http://ci.example.com'
693#
694
695#####################
696# GitLab Mattermost #
697#####################
698
699mattermost_external_url 'https://matter.lanzone.eu'
700#
701mattermost['enable'] = true
702mattermost['username'] = 'mmuser'
703mattermost['group'] = 'mmuser'
704# mattermost['uid'] = nil
705# mattermost['gid'] = nil
706# mattermost['home'] = '/var/opt/gitlab/mattermost'
707# mattermost['database_name'] = 'mattermost_production'
708
709# mattermost['service_use_ssl'] = false
710mattermost['service_address'] = "127.0.0.1"
711mattermost['service_port'] = "8065"
712
713# mattermost['service_maximum_login_attempts'] = 10
714# mattermost['service_segment_developer_key'] = nil
715# mattermost['service_google_developer_key'] = nil
716mattermost['service_enable_incoming_webhooks'] = true
717mattermost['service_enable_post_username_override'] = true
718mattermost['service_enable_post_icon_override'] = true
719mattermost['service_enable_testing'] = true
720mattermost['service_enable_security_fix_alert'] = true
721# mattermost['service_enable_insecure_outgoing_connections'] = false
722# mattermost['service_allow_cors_from'] = ""
723# mattermost['service_enable_outgoing_webhooks'] = true
724# mattermost['service_enable_commands'] = false
725# mattermost['service_enable_only_admin_integrations'] = true
726# mattermost['service_enable_oauth_service_provider'] = false
727# mattermost['service_enable_developer'] = false
728# mattermost['service_session_length_web_in_days'] = 30
729# mattermost['service_session_length_mobile_in_days'] = 30
730# mattermost['service_session_length_sso_in_days'] = 30
731# mattermost['service_session_cache_in_minutes'] = 10
732
733# mattermost['team_site_name'] = "GitLab Mattermost"
734# mattermost['team_max_users_per_team'] = 150
735# mattermost['team_enable_team_creation'] = true
736# mattermost['team_enable_user_creation'] = true
737# mattermost['team_enable_open_server'] = false
738# mattermost['team_allow_public_link'] = true
739# mattermost['team_allow_valet_default'] = false
740# mattermost['team_restrict_creation_to_domains'] = "gmail.com"
741# mattermost['team_restrict_team_names'] = true
742# mattermost['team_restrict_direct_message'] = "any"
743
744
745# mattermost['sql_driver_name'] = 'mysql'
746# mattermost['sql_data_source'] = "mmuser:mostest@tcp(dockerhost:3306)/mattermost_test?charset=utf8mb4,utf8"
747# mattermost['sql_data_source_replicas'] = ["mmuser:mostest@tcp(dockerhost:3306)/mattermost_test?charset=utf8mb4,utf8"]
748# mattermost['sql_max_idle_conns'] = 10
749# mattermost['sql_max_open_conns'] = 10
750# mattermost['sql_trace'] = false
751
752# mattermost['log_file_directory'] = '/var/log/gitlab/mattermost'
753# mattermost['log_console_enable'] = true
754# mattermost['log_console_level'] = 'INFO'
755# mattermost['log_enable_file'] = false
756# mattermost['log_file_level'] = 'INFO'
757# mattermost['log_file_format'] = nil
758
759#mattermost['gitlab_enable'] = true
760# mattermost['gitlab_id'] = "12345656"
761# mattermost['gitlab_secret'] = "123456789"
762# mattermost['gitlab_scope'] = ""
763#mattermost['gitlab_auth_endpoint'] = "https://gitlab.lanzone.eu/oauth/authorize"
764#mattermost['gitlab_token_endpoint'] = "https://gitlab.lanzone.eu/oauth/token"
765# mattermost['gitlab_user_api_endpoint'] = "http://gitlab.example.com/api/v3/user"
766
767# mattermost['aws'] = {'S3AccessKeyId' => '123', 'S3SecretAccessKey' => '123', 'S3Bucket' => 'aa', 'S3Region' => 'bb'}
768
769mattermost['email_enable_sign_up_with_email'] = false
770mattermost['email_enable_sign_in_with_email'] = false
771# mattermost['email_enable_sign_in_with_username'] = false
772mattermost['email_send_email_notifications'] = true
773# mattermost['email_require_email_verification'] = false
774# mattermost['email_smtp_username'] = nil
775# mattermost['email_smtp_password'] = nil
776# mattermost['email_smtp_server'] = nil
777# mattermost['email_smtp_port'] = nil
778# mattermost['email_connection_security'] = nil
779# mattermost['email_feedback_name'] = nil
780# mattermost['email_feedback_email'] = nil
781# mattermost['email_feedback_organization'] = nil
782mattermost['email_send_push_notifications'] = true
783mattermost['email_push_notification_server'] = ""
784# mattermost['email_push_notification_contents'] = "generic"
785
786# mattermost['file_max_file_size'] = 52428800
787# mattermost['file_driver_name'] = "local"
788# mattermost['file_directory'] = "/var/opt/gitlab/mattermost/data"
789# mattermost['file_enable_public_link'] = true
790# mattermost['file_thumbnail_width'] = 120
791# mattermost['file_thumbnail_height'] = 100
792# mattermost['file_preview_width'] = 1024
793# mattermost['file_preview_height'] = 0
794# mattermost['file_profile_width'] = 128
795# mattermost['file_profile_height'] = 128
796# mattermost['file_initial_font'] = 'luximbi.ttf'
797# mattermost['file_amazon_s3_access_key_id'] = nil
798# mattermost['file_amazon_s3_bucket'] = nil
799# mattermost['file_amazon_s3_secret_access_key'] = nil
800# mattermost['file_amazon_s3_bucket'] = nil
801# mattermost["file_amazon_s3_endpoint"] = nil
802# mattermost["file_amazon_s3_bucket_endpoint"] = nil
803# mattermost["file_amazon_s3_location_constraint"] = false
804# mattermost["file_amazon_s3_lowercase_bucket"] = false
805
806# mattermost['ratelimit_enable_rate_limiter'] = true
807# mattermost['ratelimit_per_sec'] = 10
808# mattermost['ratelimit_memory_store_size'] = 10000
809# mattermost['ratelimit_vary_by_remote_addr'] = true
810# mattermost['ratelimit_vary_by_header'] = nil
811
812# mattermost['support_terms_of_service_link'] = "/static/help/terms.html"
813# mattermost['support_privacy_policy_link'] = "/static/help/privacy.html"
814# mattermost['support_about_link'] = "/static/help/about.html"
815# mattermost['support_report_a_problem_link'] = "/static/help/report_problem.html"
816# mattermost['support_email'] = "support@example.com"
817
818# mattermost['privacy_show_email_address'] = true
819# mattermost['privacy_show_full_name'] = true
820
821# mattermost['localization_server_locale'] = "en"
822# mattermost['localization_client_locale'] = "en"
823# mattermost['localization_available_locales'] = "en,es,fr,ja,pt-BR"
824
825####################
826# Mattermost NGINX #
827####################
828
829# mattermost_nginx['enable'] = false
830# mattermost_nginx['client_max_body_size'] = '250m'
831# mattermost_nginx['redirect_http_to_https'] = false
832# mattermost_nginx['redirect_http_to_https_port'] = 80
833# mattermost_nginx['ssl_certificate'] = "/etc/gitlab/ssl/#{node['fqdn']}.crt"
834# mattermost_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/#{node['fqdn']}.key"
835# mattermost_nginx['ssl_ciphers'] = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256"
836# mattermost_nginx['ssl_prefer_server_ciphers'] = "on"
837# mattermost_nginx['ssl_protocols'] = "TLSv1 TLSv1.1 TLSv1.2" # recommended by https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html & https://cipherli.st/
838# mattermost_nginx['ssl_session_cache'] = "builtin:1000 shared:SSL:10m" # recommended in http://nginx.org/en/docs/http/ngx_http_ssl_module.html
839# mattermost_nginx['ssl_session_timeout'] = "5m" # default according to http://nginx.org/en/docs/http/ngx_http_ssl_module.html
840# mattermost_nginx['ssl_dhparam'] = nil # Path to ci_dhparams.pem, eg. /etc/gitlab/ssl/ci_dhparams.pem
841# mattermost_nginx['listen_addresses'] = ['*']
842# mattermost_nginx['listen_port'] = nil # override only if you use a reverse proxy: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#setting-the-nginx-listen-port
843# mattermost_nginx['listen_https'] = nil # override only if your reverse proxy internally communicates over HTTP: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
844# mattermost_nginx['custom_gitlab_mattermost_server_config'] = "location ^~ /foo-namespace/bar-project/raw/ {\n deny all;\n}\n"
845# mattermost_nginx['custom_nginx_config'] = "include /etc/nginx/conf.d/example.conf;"
846# mattermost_nginx['proxy_set_headers'] = {
847# "Host" => "$http_host",
848# "X-Real-IP" => "$remote_addr",
849# "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
850# "X-Frame-Options" => "SAMEORIGIN",
851# "X-Forwarded-Proto" => "https",
852# "X-Forwarded-Ssl" => "on"
853# }
854# mattermost_nginx['real_ip_trusted_addresses'] = []
855# mattermost_nginx['real_ip_header'] = nil
856# mattermost_nginx['real_ip_recursive'] = nil
857
858## Advanced settings
859# mattermost_nginx['dir'] = "/var/opt/gitlab/nginx"
860# mattermost_nginx['log_directory'] = "/var/log/gitlab/nginx"
861# mattermost_nginx['worker_processes'] = 4
862# mattermost_nginx['worker_connections'] = 10240
863# mattermost_nginx['sendfile'] = 'on'
864# mattermost_nginx['tcp_nopush'] = 'on'
865# mattermost_nginx['tcp_nodelay'] = 'on'
866# mattermost_nginx['gzip'] = "on"
867# mattermost_nginx['gzip_http_version'] = "1.0"
868# mattermost_nginx['gzip_comp_level'] = "2"
869# mattermost_nginx['gzip_proxied'] = "any"
870# mattermost_nginx['gzip_types'] = [ "text/plain", "text/css", "application/x-javascript", "text/xml", "application/xml", "application/xml+rss", "text/javascript", "application/json" ]
871# mattermost_nginx['keepalive_timeout'] = 65
872# mattermost_nginx['cache_max_size'] = '5000m'
873
874################
875# GitLab Pages #
876################
877
878## Define to enable GitLab Pages
879# pages_external_url "http://pages.example.com/"
880
881# gitlab_pages['enable'] = false
882# gitlab_pages['external_http'] = nil # Configure to expose GitLab Pages on external IP address, serving the HTTP
883# gitlab_pages['external_https'] = nil # Configure to expose GitLab Pages on external IP address, serving the HTTPS
884# gitlab_pages['listen_proxy'] = "localhost:8090"
885# gitlab_pages['redirect_http'] = true
886# gitlab_pages['use_http2'] = true
887# gitlab_pages['dir'] = "/var/opt/gitlab/gitlab-pages"
888# gitlab_pages['log_directory'] = "/var/log/gitlab/gitlab-pages"
889
890######################
891# GitLab Pages NGINX #
892######################
893
894# pages_nginx['enable'] = false
895# pages_nginx['redirect_http_to_https'] = false
896# pages_nginx['redirect_http_to_https_port'] = 80
897# pages_nginx['ssl_certificate'] = "/etc/gitlab/ssl/#{node['fqdn']}.crt"
898# pages_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/#{node['fqdn']}.key"
899# pages_nginx['ssl_ciphers'] = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256"
900# pages_nginx['ssl_prefer_server_ciphers'] = "on"
901# pages_nginx['ssl_protocols'] = "TLSv1 TLSv1.1 TLSv1.2" # recommended by https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html & https://cipherli.st/
902# pages_nginx['ssl_session_cache'] = "builtin:1000 shared:SSL:10m" # recommended in http://nginx.org/en/docs/http/ngx_http_ssl_module.html
903# pages_nginx['ssl_session_timeout'] = "5m" # default according to http://nginx.org/en/docs/http/ngx_http_ssl_module.html
904# pages_nginx['ssl_dhparam'] = nil # Path to ci_dhparams.pem, eg. /etc/gitlab/ssl/ci_dhparams.pem
905# pages_nginx['listen_addresses'] = ['*']
906# pages_nginx['listen_port'] = nil # override only if you use a reverse proxy: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#setting-the-nginx-listen-port
907# pages_nginx['listen_https'] = nil # override only if your reverse proxy internally communicates over HTTP: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
908# pages_nginx['custom_gitlab_server_config'] = "location ^~ /foo-namespace/bar-project/raw/ {\n deny all;\n}\n"
909
910## Advanced settings
911# pages_nginx['dir'] = "/var/opt/gitlab/nginx"
912# pages_nginx['log_directory'] = "/var/log/gitlab/nginx"
913
914##################
915# Registry NGINX #
916##################
917
918# registry_nginx['ssl_certificate'] = "/etc/gitlab/ssl/certificate.pem"
919# registry_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/certificate.key"
920# registry_nginx['listen_port'] = nil # override only if you use a reverse proxy: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#setting-the-nginx-listen-port
921# registry_nginx['listen_https'] = nil # override only if your reverse proxy internally communicates over HTTP: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl
922# registry_nginx['proxy_set_headers'] = {
923# "Host" => "$http_host",
924# "X-Real-IP" => "$remote_addr",
925# "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
926# "X-Forwarded-Proto" => "https",
927# "X-Forwarded-Ssl" => "on"
928# }