mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-29 13:03:50 +02:00
Azure Blob Storage support
This commit is contained in:
@@ -230,6 +230,10 @@ type config struct {
|
||||
S3Endpoint string
|
||||
GCSEnabled bool
|
||||
GCSKey string
|
||||
ABSEnabled bool
|
||||
ABSName string
|
||||
ABSKey string
|
||||
ABSEndpoint string
|
||||
|
||||
ETagEnabled bool
|
||||
|
||||
@@ -386,6 +390,11 @@ func configure() error {
|
||||
boolEnvConfig(&conf.GCSEnabled, "IMGPROXY_USE_GCS")
|
||||
strEnvConfig(&conf.GCSKey, "IMGPROXY_GCS_KEY")
|
||||
|
||||
boolEnvConfig(&conf.ABSEnabled, "IMGPROXY_USE_ABS")
|
||||
strEnvConfig(&conf.ABSName, "IMGPROXY_ABS_NAME")
|
||||
strEnvConfig(&conf.ABSKey, "IMGPROXY_ABS_KEY")
|
||||
strEnvConfig(&conf.ABSEndpoint, "IMGPROXY_ABS_ENDPOINT")
|
||||
|
||||
boolEnvConfig(&conf.ETagEnabled, "IMGPROXY_USE_ETAG")
|
||||
|
||||
strEnvConfig(&conf.BaseURL, "IMGPROXY_BASE_URL")
|
||||
|
Reference in New Issue
Block a user