I’m currently using NPM and upgrading to a new VPS for my business. I have a public website and am going to host a few more for friends, plus a few other services. Everything is on docker for ease. I use Cloudflare for DNS so would prefer using a DNS challenge. I will change this at some point but not yet ready to!

Should I:

  1. stick with Nginx Proxy Manager which I know well (is it really that insecure or outdated?)
  2. switch to NPM Plus (assuming this is the easiest)
  3. switch to Caddy (seems to be there most recommended but will be a learning curve for me)
  4. Try out Nginx (seems like a massive learning curve so I’m very reluctant)
    • brewery@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      I might have done exactly this, thanks for pointing it out. Is Nginx proxy manager considered secure enough to use on extremal sites?

      • thelittleblackbird@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        1 day ago

        Nginx is considered battle tested.

        Very few products have this level of puic scrutiny and and a good record of being safe.

        Once this is said, the majority of problems come from misconfigurations, so triple check the things

      • cron@feddit.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Personally, I would try to avoid publishing nginx proxy manager’s management web ui to the general public.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    I use Cloudflare for DNS so would prefer using a DNS challenge. I will change this at some point but not yet ready to!

    Since you are already using Cloudflare, and you are moving to an upgraded VPS, why not incorporate Cloudflare’s Tunnel/ZeroTrust? The nice thing about their ZeroTrust Tunnel is that you don’t have to punch holes in your UFW firewall, no port forwarding or NAT on your external firewall/router. It’s just one tunnel that handles your traffic, and Cloudflare takes care of the certs.There is a section that allows you to implement the DNS challenge/verification. You seem experienced so it’s fairly easy to deploy. The caveat is that you have to have a proper domain name, and use the issued Cloudflare nameservers. I picked up a domain name at NamesCheap for $1.75 USD.

  • TheFogan@programming.dev
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    1 day ago

    IMO the learning curve for caddy is almost non existent, and just about anything you might want to selfhost almost certainly has a quick simple caddy configuration you can copy paste with just updating the relevant domain. Personally learning curve for caddy was probably way lower than figuring out the edge cases of apache that I was using before

  • roofuskit@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 day ago

    I’m a Nginx(SWAG) user. It looks like more and more tutorials are leaning towards Traefik or Caddy with some using NPM. If you rely on those to deploy new services I would consider that.

  • illusionist@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    I used to use npm. If you know it and you’re happy, use it.

    It took me 3 times until I understood and got caddy installed. First, I tried using it via podman and failed. In the end I just installef it via dnf and it worked without any problems. Learning a caddy file is easy. I’ll never look back. It’s so nice and easy. Easier than npm but no gui but that’s not needed

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    If you are using docker have you looked at Traefik to act as your reverse proxy to replace nginx proxy manager?

    • brewery@feddit.ukOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      To be honest I forgot about it. I tried it two years ago when setting up my lab but struggled compared to NPM. Nowadays it seems like all the talk I used to hear about it is now about caddy.

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Even back then caddy was being talked about. I don’t use caddy because, at least back then, it was only free for non commercial use (unless you compile it yourself).

        I’ve been using Traefik for even longer though and haven’t ran into any major issues. Definitely recommend it.