Check that there's no traefik hooks left behind

This commit is contained in:
Donal McBreen
2024-09-12 12:59:34 +01:00
parent ccb7424197
commit a40b644145
4 changed files with 27 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ class Kamal::Configuration::Validator::Proxy < Kamal::Configuration::Validator
def validate!
super
if config["host"].blank? && config["ssl"]
if config["hosts"].blank? && config["ssl"]
error "Must set a host to enable automatic SSL"
end
end