I've self-hosted s3 service that does not support specifies buckets by domain.
But it supports path style buckets, like this: https://s3.example.net/{bucket}/
When I tried to use this action for site bucket at the s3.example.net, I got an error
Error: UnknownEndpoint: Inaccessible host: `site.s3.example.net' at port `undefined'. This service may not be available in the `us-east-1' region.
After research the aws-sdk library led me to the s3ForcePathStyle field which allows to change this behavior.
So, I added this field as force_path_style to action and changed workflow:
I've self-hosted s3 service that does not support specifies buckets by domain.
But it supports path style buckets, like this:
https://s3.example.net/{bucket}/
When I tried to use this action for
site
bucket at thes3.example.net
, I got an errorAfter research the aws-sdk library led me to the s3ForcePathStyle field which allows to change this behavior.
So, I added this field as
force_path_style
to action and changed workflow:Now it works well!
The only thing is... I'm newbie at the object storage, maybe I could achieve the same goal in an alternative way?