I am trying to copy Apache server setup file wsgi.conf to httpd/conf.d folder when deploying myapp via elastic beanstalk. However, after deployment, if I sftp to httpd/conf.d I don't see my file.
myapp folder structure:
myapp/ - .ebextension --- configuration.conf - folderx - foldery - wsgi.conf
in the configuration.conf file i have the following:
container_commands: 04_wsgireplace: command: "cp ../wsgi.conf /etc/httpd/conf.d/wsgi.conf"
after deployment, in the eb deployment logs I see success for the copy command.
- are the relative paths I'm using correct?
- what am I doing wrong?
PS. What I want to achieve is set a rewrite rule for http --> https re-directions. Is there an alternative solution for this?
Thanks.