Skip to content
Snippets Groups Projects
gitlab-pages-config.erb 3.08 KiB
pages-domain=<%= @domain %>
pages-root=<%= @pages_root %>
daemon-uid=<%= Etc.getpwnam(node['gitlab']['user']['username']).uid %>
daemon-gid=<%= Etc.getpwnam(node['gitlab']['user']['username']).gid %>
daemon-inplace-chroot=<%= @inplace_chroot %>
api-secret-key=<%= @api_secret_key_path %>
<%- if @access_control -%>
<%- if @gitlab_id -%>
auth-client-id=<%= @gitlab_id %>
<%- end -%>
<%- if @auth_redirect_uri -%>
auth-redirect-uri=<%= @auth_redirect_uri %>
<%- end -%>
<%- if @gitlab_secret -%>
auth-client-secret=<%= @gitlab_secret %>
<%- end -%>
<%- if @auth_secret -%>
auth-secret=<%= @auth_secret %>
<%- end -%>
<%- if @auth_scope -%>
auth-scope=<%= @auth_scope %>
<%- end -%>
<%- end -%>
<%- if @zip_cache_expiration -%>
zip-cache-expiration=<%= @zip_cache_expiration %>
<%- end -%>
<%- if @zip_cache_cleanup-%>
zip-cache-cleanup=<%= @zip_cache_cleanup %>
<%- end -%>
<%- if @zip_cache_refresh-%>
zip-cache-refresh=<%= @zip_cache_refresh %>
<%- end -%>
<%- if @zip_open_timeout-%>
zip-open-timeout=<%= @zip_open_timeout %>
<%- end -%>
<%- if @listen_proxy-%>
listen-proxy=<%= @listen_proxy %>
<%- end -%>
<%- if @metrics_address-%>
metrics-address=<%= @metrics_address %>
<%- end -%>
<%- if @status_uri -%>
pages-status=<%= @status_uri %>
<%- end -%>
<%- if @max_connections -%>
max-conns=<%= @max_connections %>
<%- end -%>
<%- if @log_format -%>
log-format=<%= @log_format %>
<%- end -%>
<%- if @log_verbose -%>
log-verbose
<%- end -%>
<%- if @sentry_enabled -%>
<%-   if @sentry_dsn-%>
sentry-dsn=<%= @sentry_dsn %>
<%-   end -%>
<%-   if @sentry_environment-%>
sentry-environment=<%= @sentry_environment %>
<%-   end -%>
<%- end -%>
<%- if @redirect_http-%>
use-http2=<%= @redirect_http %>
<%- end -%>
<%- if @artifacts_server -%>
<%-   if @artifacts_server_url-%>
artifacts-server=<%= @artifacts_server_url %>
<%-   end -%>
<%-   if @artifacts_server_timeout -%>
artifacts-server-timeout=<%= @artifacts_server_timeout %>