Strapi v4 deployed to AWS EBS trying to load resource from localhost

@isfaaq
Can you share your configuration for:
/config/plugins.js
/config/middlewares.js
/config/server.js

Can you also share the path of a file that has been uploaded.