Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions letsencrypt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ _M.cert_for_host = function(self, host)
log("Updating authz...")
local updated, err = account.unsigned_request(authz.head.location or authz.url)
if not updated then
log("Failed to update authz: %s", tostring(err()))
log("Failed to update authz: %s", tostring(err))
break
else
hosts[host], authz = updated, updated
Expand Down Expand Up @@ -878,10 +878,10 @@ _M.ssl = function(self)
local ssl_hostname = ssl.server_name() or ''

-- Check if ssl_hostname is in list of allowed domains
if not tableHasValue(self.conf.domains, ssl_hostname) then
log('Request for non-configured domain: %s. Returning fallback cert.', ssl_hostname)
return
end
-- if not tableHasValue(self.conf.domains, ssl_hostname) then
-- log('Request for non-configured domain: %s. Returning fallback cert.', ssl_hostname)
-- return
-- end

local ok, err, _

Expand Down