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:
Donal McBreen
2024-09-16 20:45:09 +01:00
parent 1f721739d6
commit 267b526438
4 changed files with 7 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ class Kamal::Configuration::Proxy
def deploy_options
{
host: proxy_config.fetch("hosts", []).first,
host: proxy_config["host"],
tls: proxy_config["ssl"],
"deploy-timeout": proxy_config["deploy_timeout"],
"drain-timeout": proxy_config["drain_timeout"],