[Solved]-Django Elastic Beanstalk Deploy showing 404


AWS Elastic Beanstalk’s default configuration sets WSGIPath to application.py, you either need to rename your file with mappings to application.py or configure the environment to point to your mappings script.

Detailed information can be found in AWS Elastic Beanstalk Python Container Options: Option Values

You can set it with the management console

enter image description here

Or with .ebextensions option_settings

NB: It should be relative path.


Leave a comment