diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/certmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua index 1cbdac5d..dac4baa4 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -157,7 +157,7 @@ end local function create_context(host, mode, ...) local cfg = new_config(); cfg:apply(core_defaults); - local service_name, port = host:match("^(%w+) port (%d+)$"); + local service_name, port = host:match("^(%S+) port (%d+)$"); if service_name then cfg:apply(find_service_cert(service_name, tonumber(port))); else |