For instance how can I use my *.domain.com SSL certs and NPM to route containers to a subdomain without exposing them? The main domain is exposed.

    • Possibly linux
      link
      fedilink
      English
      3
      edit-2
      4 hours ago

      I don’t get it. Npm is a package manager. It doesn’t handle certificates.

      You need a DNS service like route 53 (AWS) or similar where let’s encrypt connects via an API and creates the DNS token.

    • @MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      16 hours ago

      Then you’re all set, issue certs over DNS-01 challenge in NPM, and create records in your local DNS server that point to the NPM IP for each domain you want to use.