[Bug]: Redirect to www. not issuing SSL cert for non-www. with Caddy
Error Message and Logs
With the following setup, I get a SSL error when going to https://domain.com
If I change it to:
It works with no problem. This is with Caddy
In my opinion, if redirect to www. is selecting, the certificate for the non-www. should automatically be generated
Steps to Reproduce
See above
Example Repository URL
No response
Coolify Version
v4.0.0-beta.359
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response
if domain.com isnt on there then it matches against your 404 redirect, which if its not https will give cert error
it needs a match against your container inorder to do the redirect
Yeah that part makes sense. Personally I feel like setting the “redirect to www.” option should implicitly add the ssl configuration give that it’s already adding the redirect configuration