You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -924,6 +924,24 @@ Below is the complete list of available options that can be used to customize yo
924
924
|`GITLAB_MONITORING_SIDEKIQ_EXPORTER_ENABLED`| Set to `true` to enable the sidekiq exporter, enabled by default. |
925
925
|`GITLAB_MONITORING_SIDEKIQ_EXPORTER_ADDRESS`| Sidekiq exporter address, defaults to `0.0.0.0`|
926
926
|`GITLAB_MONITORING_SIDEKIQ_EXPORTER_PORT`| Sidekiq exporter port, defaults to `3807`|
927
+
|`GITLAB_CONTENT_SECURITY_POLICY_ENABLED`| Set to `true` to enable [Content Security Policy](https://guides.rubyonrails.org/security.html#content-security-policy), enabled by default. |
928
+
|`GITLAB_CONTENT_SECURITY_POLICY_REPORT_ONLY`| Set to `true` to set `Content-Security-Policy-Report-Only` header, disabled by default |
929
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_BASE_URI`| The value of the `base-uri` directive in the `Content-Security-Policy` header |
930
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_CHILD_SRC`| The value of the `child-src` directive in the `Content-Security-Policy` header |
931
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_CONNECT_SRC`| The value of the `connect-src` directive in the `Content-Security-Policy` header. Default to `'self' http://localhost:* ws://localhost:* wss://localhost:*`|
932
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_DEFAULT_SRC`| The value of the `default-src` directive in the `Content-Security-Policy` header. Default to `'self'`|
933
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FONT_SRC`| The value of the `font-src` directive in the `Content-Security-Policy` header |
934
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FORM_ACTION`| The value of the `form-action` directive in the `Content-Security-Policy` header |
935
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FRAME_ANCESTORS`| The value of the `frame-ancestors` directive in the `Content-Security-Policy` header. Default to `'self'`|
936
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_FRAME_SRC`| The value of the `frame-src` directive in the `Content-Security-Policy` header. Default to `'self' https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://content.googleapis.com https://content-compute.googleapis.com https://content-cloudbilling.googleapis.com https://content-cloudresourcemanager.googleapis.com`|
937
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_IMG_SRC`| The value of the `img-src` directive in the `Content-Security-Policy` header. Default to `* data: blob:`|
938
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_MANIFEST_SRC`| The value of the `manifest-src` directive in the `Content-Security-Policy` header |
939
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_MEDIA_SRC`| The value of the `media-src` directive in the `Content-Security-Policy` header |
940
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_OBJECT_SRC`| The value of the `object-src` directive in the `Content-Security-Policy` header. Default to `'none'`|
941
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_SCRIPT_SRC`| The value of the `script-src` directive in the `Content-Security-Policy` header. Default to `'self' 'unsafe-eval' http://localhost:* https://www.google.com/recaptcha/ https://www.recaptcha.net/ https://www.gstatic.com/recaptcha/ https://apis.google.com`|
942
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_STYLE_SRC`| The value of the `style-src` directive in the `Content-Security-Policy` header. Default to `'self' 'unsafe-inline'`|
943
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_WORKER_SRC`| The value of the `worker-src` directive in the `Content-Security-Policy` header. Default to `'self' blob:`|
944
+
|`GITLAB_CONTENT_SECURITY_POLICY_DIRECTIVES_REPORT_URI`| The value of the `report-uri` directive in the `Content-Security-Policy` header |
927
945
|`SSL_SELF_SIGNED`| Set to `true` when using self signed ssl certificates. `false` by default. |
928
946
|`SSL_CERTIFICATE_PATH`| Location of the ssl certificate. Defaults to `/home/git/data/certs/gitlab.crt`|
929
947
|`SSL_KEY_PATH`| Location of the ssl private key. Defaults to `/home/git/data/certs/gitlab.key`|
0 commit comments