Open aimestereo opened 4 months ago
@aimestereo Have you considered using a network load balancer instead and terminating SSL on the server? This seems like a simple configuration issue between cloudfront and your ec2 instance. The server you are running should expose another port for 443 or 9443 and then you can forward that traffic to a network load balancer and/or use cloudfront in front of that to handle ssl traffic.
@stuart-haas, thanks, I will try it out, originally I just thought that I misconfigured Coolify, but it seems, for https to work correctly I need to let Coolify to terminate SSL
Can confirm that this is indeed solved by letting traefik terminate the SSL connection. I initially had Coolify deployed behind Nginx and wasn't using Traefik but that setup wasn't ideal as I was having to spend an unreasonable amount of time on rewriting my Nginx rules.
Description
I have a problem with Coolify admin. It is deployed on AWS EC2 and SSL termination happens before traffic reaches instance.
In my setup Coolify thinks that it's served via
http
and hardcodehttp
into generated pages.How do I teach Coolify that it's behind https? what am I missing?
Notes:
http://
by direct link. viahttps://my.domain
i can' use it, since UI is completely brokenafter I've created this issue, I've found dns configuration, so I've set
Settings -> General -> Instance's Domain
to myhttps://my.domain
that I use to access instance - nothing changed, except this:I've also tried to disabled Domain validation - it let me save settings, but it didn't help with overall problem
Minimal Reproduction (if possible, example repository)
I have such deployment in AWS:
- https ->
CloudFront (terminate ssl)- http ->
LoadBalancer -> EC2 with CoolifyException or Error
Example: part of Server page - see a lot of
http://
:Version
v4.0.0-beta.294