Module: KamalOverride::Configuration::Role
- Defined in:
- lib/kamal_override/configuration/role.rb
Instance Method Summary collapse
Instance Method Details
#ensure_one_host_for_ssl ⇒ Object
4 5 6 7 8 |
# File 'lib/kamal_override/configuration/role.rb', line 4 def ensure_one_host_for_ssl if running_proxy? && proxy.ssl? && hosts.size > 1 && !proxy.custom_ssl_certificate? raise Kamal::ConfigurationError, "SSL is only supported on a single server unless you provide custom certificates?, found #{hosts.size} servers for role #{name}" end end |