@accelerated-software-development/caddy-api-client - v0.7.1
    Preparing search index...

    Function filterAcmeManagedFromSkip

    • Drop automatic_https.skip entries that would shadow an external- ACME policy (Caddy evaluates skip via the same host-matcher as routes). Three-way check, case-insensitive: exact match; candidate- wildcard covers ACME host; ACME-host wildcard covers candidate. Always returns a fresh array.

      Parameters

      • candidates: string[]
      • acmeManagedHosts: Set<string>

      Returns string[]

      filterAcmeManagedFromSkip(["*.pro.com"], new Set(["app.pro.com"]))   // []
      filterAcmeManagedFromSkip(["app.pro.com"], new Set(["*.pro.com"])) // []
      filterAcmeManagedFromSkip(["*.pro.com"], new Set(["api.other.com"])) // ["*.pro.com"]