bert: Add preview.chandlerswift.com forwarder

This commit is contained in:
Chandler Swift 2024-11-12 20:57:03 -06:00
parent 90dff7f8f0
commit 4a5c10849c
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 10 additions and 0 deletions

View file

@ -8,6 +8,7 @@
./katherineandchandler.com.nix
./maps.chandlerswift.com.nix
./music.chandlerswift.com.nix
./preview.chandlerswift.com.nix
./stjohnscccc.org.nix
./swiftgang.net.nix
];

View file

@ -0,0 +1,9 @@
{config, ...}: {
services.caddy.virtualHosts."preview.chandlerswift.com".extraConfig = ''
reverse_proxy oscar:4000
handle_errors {
respond "{err.status_code} {err.status_text}"
}
'';
}