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:
@@ -9,7 +9,7 @@ class ConfigurationEnvTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
test "ssl with host" do
|
||||
@deploy[:proxy] = { "ssl" => true, "hosts" => [ "example.com" ] }
|
||||
@deploy[:proxy] = { "ssl" => true, "host" => "example.com" }
|
||||
assert_equal true, config.proxy.ssl?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user