• 2 Posts
  • 12 Comments
Joined 2 years ago
cake
Cake day: June 2nd, 2023

help-circle


  • Moonrise2473@feddit.ittoSelfhosted@lemmy.worldgoodbye plex
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    16 days ago

    How not?

    If a lxc container is in a btrfs subvolume or in a zfs dataset (those are created easily like a directory, it’s not a partition), you can do a full 1:1 copy in less than one second via a snapshot, keeping all the system files, database, version and configs








  • You run a proxy on your server (the easiest is “nginx proxy manager” that has a nice web UI), then open your router to port 80 and 443 to nginx proxy manager (NOT the web UI configuration port!)

    Then you instruct the proxy to route the traffic according to the URL.

    Someone coming to 10.172.172.172 with no URL? Drop the connection.

    Someone going to if.example.com? Forward to 192.168:8080 and so on