Skip to content

About

My hub on the internet

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

137 Commits

Folders and files

Repository files navigation

carsonp.net

NixOS configuration for my web apps running on a Hetzner CPX21 VPS.

Reverse proxy

All apps are accessible under the carsonp.net domain behind an Nginx reverse proxy:

  • carsonp.net -> My blog on [::1]:8000
  • vault.carsonp.net -> vaultwarden on [::1]:8001
  • rss.carsonp.net -> miniflux on [::1]:8002
  • ntfy.carsonp.net -> ntfy.sh on [::1]:8003
  • *.carsonp.net -> returns 404

TLS Certification

I'm using the lego ACME client to renew TLS certificates from Let's Encrypt. Certificates are issued for carsonp.net and *.carsonp.net using the DNS-01 challenge. This requires a HETZNER_API_TOKEN to temporarily write a TXT record to my Hetzner DNS zone. acme-order-renew-carsonp.net.service triggers renewal of certs.

Ntfy

The ntfy server requires user credentials defined by NTFY_AUTH_USERS in secrets/ntfy.env.age.
A server user is defined with an auth token and access to the alerts topic. This user publishes to alerts any time one of the web app systemd units hit OnFailure with relevant logs and unit status.

About

My hub on the internet

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages