Deploy Strapi on ECS with Load balancer

System Information
  • Strapi Version: v4
  • Operating System: ubuntu
  • Database: postgres
  • Node Version: 16
  • NPM Version: 8.10
  • Yarn Version:

Hi .

Im trying to deploy strapi cms on one of the prefix of load balancer . So , im adding rule to load balancer with prefix but strapi cms is giving 404 error on every call of its url.

As we can see in below url im adding prefix ‘/cms/*’ means any url beyond ‘/cms/’ should serve actual response
eg /cms/admin should serve our admin panel of strapi cms .

i have added url key value as /cms in config/server.js but still not working .

Please help me out .

Thanks .