You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried your module with the official "nginx:alpine" docker image.
I configured a new certificate and the route53 record but I am still unable to make it work properly:
If I keep the default configuration, I can't "tf apply" my config because it says my container has no 443 port openned.
So I adapted the module configuration as below:
Now, I can terraform apply, but it doesn't work using HTTPS, I get this response from awselb/2.0:
503 Service Temporarily Unavailable.
It works using HTTP (80), but my goal is to auto-redirect 80 to 443 and make it works using HTTPS.
Do you have any suggestion ? Should I open the 443 port on my container ?
Regards,
The text was updated successfully, but these errors were encountered:
ms-spown
changed the title
Unable to make it work using HTTPS with a container port configured on 80
Unable to make it works using HTTPS with a container port configured on 80
Sep 3, 2022
@ms-spown , this might be what you need. lb_https_ports ultimately maps to 'https_ports' in cn-terraform/ecs-alb/aws, which defaults to "HTTPS" for the proto if 'target_group_proto' isn't provided.
Note that while that value is not specified in the parent module for lb_https_ports, providing it doesn't hurt.
Hello,
I tried your module with the official "nginx:alpine" docker image.
I configured a new certificate and the route53 record but I am still unable to make it work properly:
If I keep the default configuration, I can't "tf apply" my config because it says my container has no 443 port openned.
So I adapted the module configuration as below:
Now, I can terraform apply, but it doesn't work using HTTPS, I get this response from awselb/2.0:
503 Service Temporarily Unavailable.
It works using HTTP (80), but my goal is to auto-redirect 80 to 443 and make it works using HTTPS.
Do you have any suggestion ? Should I open the 443 port on my container ?
Regards,
The text was updated successfully, but these errors were encountered: