Hello everyone,
I’m new to strapi. I have a problem that needs everyone’s help.
I have installed strapi successfully. Strapi 4.24.1
I want to upload my files (image, video, pdf…) to Object Storage. I use idrivee2.com because of the quality socks and good prices.
I used the plugin: @strapi/provider-upload-aws-s3
After I tried uploading my image, it showed up on idrivee2. I want to change the default domain name https://e2j0.c14.e2-4.dev/ to another domain name. For example: media.domainname.com, how should I configure it?
Here is my configuration:
upload: {
config: {
provider: 'aws-s3',
providerOptions: {
credentials: {
accessKeyId: env('IDRIVEE2_ACCESS_KEY_ID'),
secretAccessKey: env('IDRIVEE2_ACCESS_SECRET'),
},
region: env('IDRIVEE2_REGION'),
endpoint: env('IDRIVEE2_ENDPOINT'),
params: {
Bucket: env('IDRIVEE2_BUCKET'),
},
},
},
},
I have successfully added the domain to idrivee2. When I get the url directly from idrivee2 and put it in the browser it works. But the Url returned on strapi is the root domain.
Is there any way to change it to my domain name? I think it’s a configuration issue in the strapi plugin.
Looking forward to everyone’s help. All comments help me learn a lot. Thank you everyone.
This topic has been created from a Discord post (1258721211093876797) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord