Switch proxy/hosts to proxy/host
The proxy only supports a single host per app for nowm so make the config match that.
This commit is contained in:
@@ -2,7 +2,7 @@ class Kamal::Configuration::Validator::Proxy < Kamal::Configuration::Validator
|
||||
def validate!
|
||||
super
|
||||
|
||||
if config["hosts"].blank? && config["ssl"]
|
||||
if config["host"].blank? && config["ssl"]
|
||||
error "Must set a host to enable automatic SSL"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user