bagetter / BaGetter

A lightweight NuGet and symbol server
https://www.bagetter.com
MIT License
166 stars 38 forks source link

Add and Endpoint option to be able to set ServiceURL #132

Closed ferarias closed 2 months ago

ferarias commented 2 months ago

To be able to use S3 buckets not in AWS, for example Linode, allow the option to set the Service URL in settings.

Example appsettings to configure:

  "Storage": {
    "Type": "AwsS3",
    "Endpoint": "https://eu-central-1.linodeobjects.com",
    "Bucket": "testbucket",
    "AccessKey": "***",
    "SecretKey": "***"
  },

or

  "Storage": {
    "Type": "AwsS3",
    "Region": "eu-central-1",
    "Bucket": "testbucket",
    "AccessKey": "***",
    "SecretKey": "***"
  },

RegionEndpoint and ServiceUrl are mutually exclusive