summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard J Hancock <rjhancock@tapenvy.us>2018-05-03 10:09:40 -0500
committerRichard J Hancock <rjhancock@tapenvy.us>2018-05-03 10:09:40 -0500
commitd16bc6358247774e32c785b878f38a5c7ba74a57 (patch)
treee60ef3df24ab901b49dbdd26203d51468988f979
parent17f598e9c36944dc98b2967689622f9d374ea6f4 (diff)
downloadgitlab-ce-d16bc6358247774e32c785b878f38a5c7ba74a57.tar.gz
Added options related to signed url creation to work with servcies that do not support V4 of the signature.
-rw-r--r--config/gitlab.yml.example4
1 files changed, 4 insertions, 0 deletions
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