Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alb-http-to-https-redirection.config: Contains invalid key: 'Path'. #117

Open
jayslife opened this issue May 20, 2020 · 4 comments
Open

Comments

@jayslife
Copy link

Elastic beanstalk event error: Error processing file (Skipping): DEV/Package/PackageTmp/bin/.ebextensions/alb-http-to-https-redirection-full.config' - Contains invalid key: 'Path'.

Environment:
Platform branch
IIS 10.0 running on 64bit Windows Server 2019
Current platform version
2.5.2

I followed the instructions and setup the prerequisite 443 listener for my Application load balancer in elastic beanstalk.

Everything on my application works except the redirect from http to https.

@jayslife
Copy link
Author

@dankhen I see you looked into a previous issue, any thoughts here?

@dankhen
Copy link
Contributor

dankhen commented Jul 6, 2020

@jayslife Do you mean #102? Unfortunately I have not received a solution from the team on this yet.

@OFark
Copy link

OFark commented Feb 1, 2021

Don't do it here. I have no idea what this file is for, it's a waste of time. Go to EC2 dashboard and find the load balancer for your Elastic Beanstalk app. Here you can edit the last rule for your HTTP listener and redirect it to HTTPS, don't forget to type in the (really obvious) port number.

@jayslife
Copy link
Author

jayslife commented Mar 1, 2021

@OFark that is how I have been doing it, however, if the listener is ever redeployed then you always have to remember to do this extra step. The should be a way to have this configured from code.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants