coolify
coolify copied to clipboard
[Bug]: http should redirect to https by default otherwise we can get a 403 error
Description
I noticed that I get a 403 error when visiting the http://DOMAIN.sslip.io url as my browser automatically redirects me to https. I then have to manually update the URL to https://... to access my services on the sslip domain.
This should not be the case and there should be a redirection setting that I can enable to redirect no http to https all the time so that I always use https. --> This can be done like the www redirect setting was done, or even better by just giving us a vhost editor like mentioned here: https://github.com/coollabsio/coolify/issues/2392.
Minimal Reproduction (if possible, example repository)
- Install WordPress
- Open the sslip URL with https (without changing the default http URL) -> gives a 403 error
- then open it with http -> this works but is not ideal (as it is http and not https)
- Change it to https and deploy again -> works perfectly.
- [ ] The fix is just to redirect all non-https requests/ all http traffic to https by default -> make a similar setting like for the www redirect or just a checkbox to redirect http to https all the time or even better add a vhost editor directly in the UI.
- [ ] Add missing force HTTPS checkbox to services and docker compose, dockerfile deployments -> For git apps this is already available. --> Will be hard as services all do their own thing but needs to be fixed
Version
v4.0.0-beta.294