Add validations for host/ssl roles
Roles with SSL can only have one server. Two roles with SSL can't use the same host.
This commit is contained in:
@@ -22,6 +22,10 @@ class Kamal::Configuration::Proxy
|
||||
proxy_config.fetch("ssl", false)
|
||||
end
|
||||
|
||||
def host
|
||||
proxy_config["host"]
|
||||
end
|
||||
|
||||
def deploy_options
|
||||
{
|
||||
host: proxy_config["host"],
|
||||
|
||||
Reference in New Issue
Block a user