this post was submitted on 16 Feb 2024
41 points (86.0% liked)

Selfhosted

40198 readers
960 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] cron@feddit.de 8 points 9 months ago (11 children)

Setting up a reverse proxy with nginx proxy manager is pretty simple and comes with letsencrypt support.

For letsencrypt to work, a software needs to write a confirmation code to a special path in your domain. When letsencrypt verifies that you can write to this path (and therefore control the domain), you get the certificate.

[–] PlexSheep@feddit.de 6 points 9 months ago* (last edited 9 months ago) (5 children)

I hosted NPM in two servers for some time, I had it break too often and could not set custom configs easily. I switched to caddy and could not be happier.

When using caddy, you don't even need to think about letsencrypt, unless you want to disable it in favor of something else.

[–] eager_eagle@lemmy.world 3 points 9 months ago* (last edited 9 months ago) (2 children)

you don’t even need to think about letsencrypt

Do you know if it's just as friction-less to have a self signed cert up with Caddy for internal use? I was using Nginx PM recently and had the need to serve https but I can't use letsencrypt because it's not public-facing. Nginx PM only has letsencrypt as an option.

I wish there was a checkbox that just deployed a self-signed cert without bothering with the details (it's 2024 ffs, HTTPS should be 1 click away, whether that's self-signed or not).

[–] PlexSheep@feddit.de 1 points 9 months ago

I'm using a self signed CA for my home network with caddy. You just set it up to use a ca once and afterwards it just works. So yeah, really easy.

Iirc you can upload your own certificates and keys in npm, you'll just have to manage the CA manually or with some other tool.

load more comments (1 replies)
load more comments (3 replies)
load more comments (8 replies)