From ad8e11cda60e671b15dada919999d93aaec3e0c8 Mon Sep 17 00:00:00 2001 From: hyang Date: Thu, 14 Sep 2023 20:33:58 -0700 Subject: Move images --- content/post/setup.md | 43 ---------------------------------- content/post/setup/images/diagram.svg | 4 ++++ content/post/setup/index.md | 43 ++++++++++++++++++++++++++++++++++ static/images/avatar.png | Bin 30853 -> 0 bytes static/images/diagram.png | Bin 59285 -> 0 bytes static/images/diagram.svg | 4 ---- 6 files changed, 47 insertions(+), 47 deletions(-) delete mode 100644 content/post/setup.md create mode 100644 content/post/setup/images/diagram.svg create mode 100644 content/post/setup/index.md delete mode 100644 static/images/avatar.png delete mode 100644 static/images/diagram.png delete mode 100644 static/images/diagram.svg diff --git a/content/post/setup.md b/content/post/setup.md deleted file mode 100644 index 1f98a2d..0000000 --- a/content/post/setup.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: "My Setup" -date: 2023-08-27T18:09:49-07:00 -description: Hello again -draft: false ---- - - -## Hello Once Again -Welcome to my ~~third~~, first iteration of hyang.xyz. Now that my hosting stuff is stable again, I hope that I can finally stop messing around with Linux and start doing things that I can look back on years later. And what better way to do that than start writing blog posting? - -(I also need an excuse to get better at writing…) - -## The Setup -My adventures with hosting things on the online has been quite a wild ride for me. Until now, it has mostly been more of a learning experience thing. I had mostly focused on hosting stuff like SearX, Nitter, and Fediverse instances, with it lasting two weeks at most, before I got bored and just nuke it all. I also distro-hopped a lot, from Debian → Arch → OpenBSD → FreeBSD → NixOS. - -Now that I have gotten old, now I just want things to just work! - -So, I've decided to start over again. This time, I had to devise a set of goals that made operating this mess as “comfy” as possible. I settled on the following: -- Sane, easy to use backups -- No Cloudflare, (various reasons: mostly just want to host other stuff like email) -- Affordable (am broke) -- Make deploying stuff repetitive, and easy to maintain - -Here's my setup: - -![My setup as a diagram](/images/diagram.svg) - -In essence: -- Small BuyVM VPS for connecting to the big Internet without revealing my residential address. - - Also runs my email server. -- Docker for running/managing services -- Loads of storage: - - 1TB NVME for running NixOS - - 3x 4 TB Hard Drives on ZFS RAID1 (mirror) -- 1x 4 TB Hard Drives (Backups) - - Using rsnapshot - - Backups for both my NVME and HDD. - - (Might be a problem in the future… Might move it to my 3x 4 TB drives) - -My small VPS contains a WireGuard server, which allows my home PC to securely communicate with my VPS. Along with that, it also contains Certbot for managing HTTPS certificates, and Nginx for reverse proxying. It also contains my Email server too. - -Originally, everything was managed via Nginx. However, logging into my VPS and reconfiguring Nginx every time I wanted to deploy something new was just cumbersome. I decided to try out Traefik, which works alongside Docker to handle most of the routing configurations. Thus, my Nginx now simply reverse proxies everything on port 80 and 443… to another reverse proxy! diff --git a/content/post/setup/images/diagram.svg b/content/post/setup/images/diagram.svg new file mode 100644 index 0000000..40bc69e --- /dev/null +++ b/content/post/setup/images/diagram.svg @@ -0,0 +1,4 @@ + + + +
hyang.xyz
BuyVM
Debian
hyang.xyz...
"Gaming"
Computer
NixOS
"Gaming"...
Docker
Docker
1TB NVME
1TB NVME
3x
Mirrored
4TB HDD
3x...
Backup 4TB HDD
Backup 4TB...
Offsite Backup?
TODO
Offsite Ba...
Text is not SVG - cannot display
\ No newline at end of file diff --git a/content/post/setup/index.md b/content/post/setup/index.md new file mode 100644 index 0000000..b635f94 --- /dev/null +++ b/content/post/setup/index.md @@ -0,0 +1,43 @@ +--- +title: "My Setup" +date: 2023-08-27T18:09:49-07:00 +description: Hello again +draft: false +--- + + +## Hello Once Again +Welcome to my ~~third~~, first iteration of hyang.xyz. Now that my hosting stuff is stable again, I hope that I can finally stop messing around with Linux and start doing things that I can look back on years later. And what better way to do that than start writing blog posting? + +(I also need an excuse to get better at writing…) + +## The Setup +My adventures with hosting things on the online has been quite a wild ride for me. Until now, it has mostly been more of a learning experience thing. I had mostly focused on hosting stuff like SearX, Nitter, and Fediverse instances, with it lasting two weeks at most, before I got bored and just nuke it all. I also distro-hopped a lot, from Debian → Arch → OpenBSD → FreeBSD → NixOS. + +Now that I have gotten old, now I just want things to just work! + +So, I've decided to start over again. This time, I had to devise a set of goals that made operating this mess as “comfy” as possible. I settled on the following: +- Sane, easy to use backups +- No Cloudflare, (various reasons: mostly just want to host other stuff like email) +- Affordable (am broke) +- Make deploying stuff repetitive, and easy to maintain + +Here's my setup: + +![My setup as a diagram](images/diagram.svg) + +In essence: +- Small BuyVM VPS for connecting to the big Internet without revealing my residential address. + - Also runs my email server. +- Docker for running/managing services +- Loads of storage: + - 1TB NVME for running NixOS + - 3x 4 TB Hard Drives on ZFS RAID1 (mirror) +- 1x 4 TB Hard Drives (Backups) + - Using rsnapshot + - Backups for both my NVME and HDD. + - (Might be a problem in the future… Might move it to my 3x 4 TB drives) + +My small VPS contains a WireGuard server, which allows my home PC to securely communicate with my VPS. Along with that, it also contains Certbot for managing HTTPS certificates, and Nginx for reverse proxying. It also contains my Email server too. + +Originally, everything was managed via Nginx. However, logging into my VPS and reconfiguring Nginx every time I wanted to deploy something new was just cumbersome. I decided to try out Traefik, which works alongside Docker to handle most of the routing configurations. Thus, my Nginx now simply reverse proxies everything on port 80 and 443… to another reverse proxy! diff --git a/static/images/avatar.png b/static/images/avatar.png deleted file mode 100644 index c7b7fef..0000000 Binary files a/static/images/avatar.png and /dev/null differ diff --git a/static/images/diagram.png b/static/images/diagram.png deleted file mode 100644 index 09896b2..0000000 Binary files a/static/images/diagram.png and /dev/null differ diff --git a/static/images/diagram.svg b/static/images/diagram.svg deleted file mode 100644 index 40bc69e..0000000 --- a/static/images/diagram.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - -
hyang.xyz
BuyVM
Debian
hyang.xyz...
"Gaming"
Computer
NixOS
"Gaming"...
Docker
Docker
1TB NVME
1TB NVME
3x
Mirrored
4TB HDD
3x...
Backup 4TB HDD
Backup 4TB...
Offsite Backup?
TODO
Offsite Ba...
Text is not SVG - cannot display
\ No newline at end of file -- cgit v1.2.3