setup vps1 ingress

This commit is contained in:
nora 2024-07-26 22:21:48 +02:00
parent d925b4783e
commit 03c4ca2f95
5 changed files with 109 additions and 6 deletions

29
newinfra/README.md Normal file
View file

@ -0,0 +1,29 @@
# new infra
New infra based on more servers and more shit.
All servers have their hostname as their name here and are reachable via `$hostname.infra.noratrieb.dev`.
They will have different firewall configurations depending on their roles.
```
-------- --------
| dns1 | | dns2 |
-------- --------
--------
| vps1 |
--------
```
## DNS
Two [knot-dns](https://www.knot-dns.cz/) nameservers (`dns1`, `dns2`).
All records are fully static, generated in the NixOS config.
## HTTP(S)
Right now, there's only a single server (`vps1`) serving Caddy.
In the future, there might be a second one in a shared-storage HA setup (with a postgres cluster probably)?