In this guide I tell you how to install NGINX on your Linux based machine and how to serve the entire website all locally on your own network using hardware you control (Or you can make it public but you need a domain and a SSL cert)
When prompted to accept the GPG key, verify that the fingerprint matches:
8540 A6F1 8833 A80E 9C16 53A4 2FD2 1310 B49F 6B46,
573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62,
9E9B E90E ACBC DE69 FE9B 204C BCDC D8A3 8D88 A2B3, and if so, accept it.
Arch Linux (Not Recommended)
If your using Arch Linux on your server follow this guide the Arch Wiki has some of the best most in-depth guides I’ve seen. (Arch is amazing for a Linux desktop but not great in a server environment due to it being a rolling release distribution you will have to deal with the downtime from managing package/kernel updates daily. I would recommend Alpine Linux over Arch because its a release based distribution)
Hosting
Faq
I wrote this part assuming your using a Debian based distribution. If your using another you may need to change some commands (depending on your service manager service may be systemctl for example if your using systemd), install git, or replace /var/www with whatever folder you want.
Clone the repository containing the site backup inside of /var/www.
cd /var/wwwgit clone https://git.slavserver.com/DooSkagg/SlavinskyCookbook-Backup.git .
Find your nginx default config by running this command:
change the example.com in line 3 to either the domain your going to host it on or the local IP of your server.
Restart NGINX (May be different command depending on your Linux distro)
service nginx restart
Access your site at http://[IP_OF_SERVER]:80For HTTPS support this guide should help you
Tip
You can also skip all of this and download the site files as a .zip and upload them to Cloudflare Pages for free hosting (I’m personally not a fan of this because I like running everything on my own hardware).