From d16bc6358247774e32c785b878f38a5c7ba74a57 Mon Sep 17 00:00:00 2001 From: Richard J Hancock Date: Thu, 3 May 2018 10:09:40 -0500 Subject: Added options related to signed url creation to work with servcies that do not support V4 of the signature. --- config/gitlab.yml.example | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/gitlab.yml.example') diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 7eb44b8059e..1c57a0206d6 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -155,6 +155,9 @@ production: &base # aws_access_key_id: AWS_ACCESS_KEY_ID # aws_secret_access_key: AWS_SECRET_ACCESS_KEY # region: us-east-1 + # aws_signature_version: 4 # For creation of signed URLs. Set to 2 if provider does not support v4. + # endpoint: 'https://s3.amazonaws.com' # default: nil - Usefull for S3 compliant services such as DigitalOcean Spaces + ## Git LFS lfs: @@ -192,6 +195,7 @@ production: &base provider: AWS aws_access_key_id: AWS_ACCESS_KEY_ID aws_secret_access_key: AWS_SECRET_ACCESS_KEY + aws_signature_version: 4 # For creation of signed URLs. Set to 2 if provider does not support v4. region: us-east-1 # host: 'localhost' # default: s3.amazonaws.com # endpoint: 'http://127.0.0.1:9000' # default: nil -- cgit v1.2.3 From efcd52e29cff821c2853e2826517c475542a1d1a Mon Sep 17 00:00:00 2001 From: Richard Hancock Date: Fri, 4 May 2018 12:48:16 +0000 Subject: Correcting spelling mistake. --- config/gitlab.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/gitlab.yml.example') diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 1c57a0206d6..f786d763df8 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -156,7 +156,7 @@ production: &base # aws_secret_access_key: AWS_SECRET_ACCESS_KEY # region: us-east-1 # aws_signature_version: 4 # For creation of signed URLs. Set to 2 if provider does not support v4. - # endpoint: 'https://s3.amazonaws.com' # default: nil - Usefull for S3 compliant services such as DigitalOcean Spaces + # endpoint: 'https://s3.amazonaws.com' # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces ## Git LFS -- cgit v1.2.3 From e5553ce6f05f9fad575036edd321161689eaefaa Mon Sep 17 00:00:00 2001 From: Richard Hancock Date: Thu, 7 Jun 2018 14:07:57 +0000 Subject: Update gitlab.yml.example --- config/gitlab.yml.example | 1 + 1 file changed, 1 insertion(+) (limited to 'config/gitlab.yml.example') diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index f786d763df8..0fc959a915f 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -178,6 +178,7 @@ production: &base # Use the following options to configure an AWS compatible host # host: 'localhost' # default: s3.amazonaws.com # endpoint: 'http://127.0.0.1:9000' # default: nil + # aws_signature_version: 4 # For creation of signed URLs. Set to 2 if provider does not support v4. # path_style: true # Use 'host/bucket_name/object' instead of 'bucket_name.host/object' ## Uploads (attachments, avatars, etc...) -- cgit v1.2.3