/etc/httpd/conf.d/elasticbeanstalk.conf then I've created an AMI image and configured Beanstalk to use this image.
But when the new EC2 instance starts, the config file
elasticbeanstalk.conf is the original, without my modifications. (Other config files as
httpd.conf do have my modifications)
How can I modify and persist this file?
This is my modified file:
<VirtualHost *:80> <Proxy *> Order deny,allow Allow from all </Proxy> #ProxyPass / http://localhost:8080/ retry=0 #ProxyPassReverse / http://localhost:8080/ # This is my modification ProxyPass /j_spring_security_check http://localhost:8080/j_spring_security_check ProxyPassReverse /j_spring_security_check http://localhost:8080/j_spring_security_check ProxyPreserveHost on ErrorLog /var/log/httpd/elasticbeanstalk-error_log </VirtualHost>