Trying to have django look for static files in the right directory, when hosting with elastic beanstalk.
Config file:
option_settings:
"aws:elasticbeanstalk:container:python:staticfiles":
"/static/": "static"
Getting error message:
ERROR Invalid option specification (Namespace: 'aws:elasticbeanstalk:container:python:staticfiles', OptionName: '/static/'): Unknown configuration setting.
Tried following code from the documentation as a test.
option_settings:
aws:elasticbeanstalk:application:environment:
DJANGO_SETTINGS_MODULE: production.settings
aws:elasticbeanstalk:container:python:staticfiles:
/html: statichtml
/images: staticimages
Getting the same 'unknown configuration settings' error.