Software /
code /
prosody
File
.busted @ 12216:0f5d04c3092f
util.prosodyctl.cert: Look for certificates in a consistent order
Shortest first, then alphabetically, so that it prefers the base domain
over subdomains.
Fixes that it might otherwise pick a random sub-domain for filename on
each run, cluttering the certs directory and potentially tricking
Prosody into using an older certificate that might be about to expire.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Jan 2022 13:24:23 +0100 |
parent | 9964:f299d4917dd8 |
line wrap: on
line source
return { _all = { }, default = { ["exclude-tags"] = "mod_bosh,storage,SLOW"; }; bosh = { tags = "mod_bosh"; }; storage = { tags = "storage"; }; }