Strapi - Build a Blog Using Strapi and Next.js

Hello. I am having an issue. How to make the Media Type images work in production (uploaded to my aws server) after following the tutorial?

It is working in local environment and i am getting all the images for my articles, but once i upload to my production server, i can not get them and i see they are not present in a /uploads directory.
I have added plugins.js file in /config
module.exports = ({ env })=>({
upload: {
config: {
providerOptions: {
localServer: {
maxage: 300000
},
},
breakpoints: {
xlarge: 1920,
large: 1000,
medium: 750,
small: 500,
xsmall: 64
},
},
},
});
but this is not helping.

Can i please get some guidance for this issue?

Thanks