this post was submitted on 19 Dec 2024
36 points (95.0% liked)

Selfhosted

60542 readers
350 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the link in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post. )

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip 7 points 2 years ago (1 children)

You need a DNS service that works with Let's encrypt

[–] ComradeMiao@lemmy.dbzer0.com 1 points 2 years ago (2 children)
[–] possiblylinux127@lemmy.zip 7 points 2 years ago* (last edited 2 years ago) (1 children)

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.

[–] coolie4@lemmy.world 3 points 2 years ago (1 children)

OP isn't referring to the package manager. They're talking about Nginx Proxy Manager

[–] possiblylinux127@lemmy.zip 7 points 2 years ago (1 children)

Oh

That makes sense. We need to stop making two things use the same acronym. Its like people saying HA for home assistant without realizing that HA is normally used for high availability.

[–] Scrath@lemmy.dbzer0.com 2 points 2 years ago

I believe there are also the acronyms hass for homeassistant or HAOS for homeassistant OS.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 years 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.