feat: Add deployment to a staging environment

Added staging.nginx.nix modeled on prod.nginx.nix, configuring nginx as a
local staging server. Updated deploy.sh to target either staging or prod
over SSH. Consolidated shared configuration between the two nginx nix
files and between the staging and prod deploy paths in deploy.sh.
This commit is contained in:
Matthew Binning 2026-01-01 16:44:54 -08:00
parent a754bf5001
commit bd24208274
4 changed files with 161 additions and 13 deletions

View file

@ -1,4 +1,5 @@
(F) Add user authentication to view private articles (either HTTP basic authentication or something else)
(A) Re-use code or code blocks where possible between staging.nginx.nix and prod.nginx.nix
(B) Re-use code or code blocks where possible between deploy.sh staging and deploy.sh prod
DefCon article
Oktoberfest article
health journey
@ -13,4 +14,7 @@ x Add a blog page with links to blog entry pages.
x Add the blog page to the navbar.
x Create example blog sections
x Add an example resume page linked from the main navbar
x Possibly use some include mechanism in HTML to separate the navbar to its own html file.
x Possibly use some include mechanism in HTML to separate the navbar to its own html file.
x Create a staging.nginx.nix based on prod.nginx.nix which sets up nginx as a local server.
x Update the deploy.sh script to deploy to either staging or prod over SSH to binning.net.
x Add user authentication to view private articles (either HTTP basic authentication or something else)