Sha256: f58e5929a3f0fab11980cb81c2d9a78262917036d3a380467d5d50d759672f70

Contents?: true

Size: 263 Bytes

Versions: 7

Compression:

Stored size: 263 Bytes

Contents

class Kamal::Configuration::Validator::Proxy < Kamal::Configuration::Validator
  def validate!
    unless config.nil?
      super

      if config["host"].blank? && config["ssl"]
        error "Must set a host to enable automatic SSL"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kamal-2.0.0 lib/kamal/configuration/validator/proxy.rb
kamal-2.0.0.rc4 lib/kamal/configuration/validator/proxy.rb
kamal-2.0.0.rc3 lib/kamal/configuration/validator/proxy.rb
kamal-2.0.0.rc2 lib/kamal/configuration/validator/proxy.rb
kamal-2.0.0.rc1 lib/kamal/configuration/validator/proxy.rb
kamal-2.0.0.beta2 lib/kamal/configuration/validator/proxy.rb
kamal-2.0.0.beta1 lib/kamal/configuration/validator/proxy.rb