#1495 Path-style S3 compatibile URLs implemented (#346)

* #1495 Path-style S3 compatibile URLs implemented

https://github.com/owncast/owncast/issues/1495

It gives ability to use S3 compatibile providers that doesn't
support virtual-host-style URLs (i.e. Oracle Cloud Object Storage)

* https://github.com/owncast/owncast/issues/1495 Renaming rest of 'pathBased' to 'forcePathStyle'
This commit is contained in:
Artur Angiel
2021-10-29 02:33:32 +02:00
committed by GitHub
parent 76a942306a
commit 9b7835e71e
4 changed files with 24 additions and 2 deletions

View File

@@ -357,4 +357,9 @@ export const S3_TEXT_FIELDS_INFO = {
pattern: DEFAULT_TEXTFIELD_URL_PATTERN,
useTrim: true,
},
forcePathStyle: {
fieldName: 'forcePathStyle',
label: 'Force path-style',
tip: 'If your S3 provider doesn\'t support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)',
},
};

View File

@@ -34,6 +34,7 @@ export const initialServerConfigState: ConfigDetails = {
region: '',
secret: '',
servingEndpoint: '',
forcePathStyle: false,
},
yp: {
enabled: false,