@@ -186,6 +192,10 @@ are listed in the descriptions of the relevant settings.
...
@@ -186,6 +192,10 @@ are listed in the descriptions of the relevant settings.
| `allow_local_requests_from_hooks_and_services` | boolean | no | (Deprecated: Use `allow_local_requests_from_web_hooks_and_services` instead) Allow requests to the local network from hooks and services. |
| `allow_local_requests_from_hooks_and_services` | boolean | no | (Deprecated: Use `allow_local_requests_from_web_hooks_and_services` instead) Allow requests to the local network from hooks and services. |
| `allow_local_requests_from_web_hooks_and_services` | boolean | no | Allow requests to the local network from web hooks and services. |
| `allow_local_requests_from_web_hooks_and_services` | boolean | no | Allow requests to the local network from web hooks and services. |
| `allow_local_requests_from_system_hooks` | boolean | no | Allow requests to the local network from system hooks. |
| `allow_local_requests_from_system_hooks` | boolean | no | Allow requests to the local network from system hooks. |
| `asset_proxy_enabled` | boolean | no | (**If enabled, requires:**`asset_proxy_url`) Enable proxying of assets. GitLab restart is required to apply changes. |
| `asset_proxy_secret_key` | string | no | Shared secret with the asset proxy server. GitLab restart is required to apply changes. |
| `asset_proxy_url` | string | no | URL of the asset proxy server. GitLab restart is required to apply changes. |
| `asset_proxy_whitelist` | string or array of strings | no | Assets that match these domain(s) will NOT be proxied. Wildcards allowed. Your GitLab installation URL is automatically whitelisted. GitLab restart is required to apply changes. |
| `authorized_keys_enabled` | boolean | no | By default, we write to the `authorized_keys` file to support Git over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only disable this if you have configured your OpenSSH server to use the AuthorizedKeysCommand. |
| `authorized_keys_enabled` | boolean | no | By default, we write to the `authorized_keys` file to support Git over SSH without additional configuration. GitLab can be optimized to authenticate SSH keys via the database file. Only disable this if you have configured your OpenSSH server to use the AuthorizedKeysCommand. |
| `auto_devops_domain` | string | no | Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages. |
| `auto_devops_domain` | string | no | Specify a domain to use by default for every project's Auto Review Apps and Auto Deploy stages. |
| `auto_devops_enabled` | boolean | no | Enable Auto DevOps for projects by default. It will automatically build, test, and deploy applications based on a predefined CI/CD configuration. |
| `auto_devops_enabled` | boolean | no | Enable Auto DevOps for projects by default. It will automatically build, test, and deploy applications based on a predefined CI/CD configuration. |
| `asset_proxy_secret_key` | Shared secret with the asset proxy server. |
| `asset_proxy_url` | URL of the asset proxy server. |
| `asset_proxy_whitelist` | Assets that match these domain(s) will NOT be proxied. Wildcards allowed. Your GitLab installation URL is automatically whitelisted. |
These can be set via the [Application setting API](../api/settings.md)
Note that a GitLab restart is required to apply any changes.
requires:akismet_api_key,type: String,desc: 'Generate API key at http://www.akismet.com'
requires:akismet_api_key,type: String,desc: 'Generate API key at http://www.akismet.com'
end
end
optional:asset_proxy_enabled,type: Boolean,desc: 'Enable proxying of assets'
optional:asset_proxy_url,type: String,desc: 'URL of the asset proxy server'
optional:asset_proxy_secret_key,type: String,desc: 'Shared secret with the asset proxy server'
optional:asset_proxy_whitelist,type: Array[String],coerce_with: Validations::Types::CommaSeparatedToArray.coerce,desc: 'Assets that match these domain(s) will NOT be proxied. Wildcards allowed. Your GitLab installation URL is automatically whitelisted.'
optional:default_artifacts_expire_in,type: String,desc: "Set the default expiration time for each job's artifacts"
optional:default_artifacts_expire_in,type: String,desc: "Set the default expiration time for each job's artifacts"
optional:default_project_creation,type: Integer,values: ::Gitlab::Access.project_creation_values,desc: 'Determine if developers can create projects in the group'
optional:default_project_creation,type: Integer,values: ::Gitlab::Access.project_creation_values,desc: 'Determine if developers can create projects in the group'
...
@@ -128,7 +132,7 @@ module API
...
@@ -128,7 +132,7 @@ module API
optional:terminal_max_session_time,type: Integer,desc: 'Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.'
optional:terminal_max_session_time,type: Integer,desc: 'Maximum time for web terminal websocket connection (in seconds). Set to 0 for unlimited time.'
optional:usage_ping_enabled,type: Boolean,desc: 'Every week GitLab will report license usage back to GitLab, Inc.'
optional:usage_ping_enabled,type: Boolean,desc: 'Every week GitLab will report license usage back to GitLab, Inc.'
optional:instance_statistics_visibility_private,type: Boolean,desc: 'When set to `true` Instance statistics will only be available to admins'
optional:instance_statistics_visibility_private,type: Boolean,desc: 'When set to `true` Instance statistics will only be available to admins'
optional:local_markdown_version,type: Integer,desc: "Local markdown version, increase this value when any cached markdown should be invalidated"
optional:local_markdown_version,type: Integer,desc: 'Local markdown version, increase this value when any cached markdown should be invalidated'
optional:allow_local_requests_from_hooks_and_services,type: Boolean,desc: 'Deprecated: Use :allow_local_requests_from_web_hooks_and_services instead. Allow requests to the local network from hooks and services.'# support legacy names, can be removed in v5
optional:allow_local_requests_from_hooks_and_services,type: Boolean,desc: 'Deprecated: Use :allow_local_requests_from_web_hooks_and_services instead. Allow requests to the local network from hooks and services.'# support legacy names, can be removed in v5