bert: Add preview.chandlerswift.com forwarder
This commit is contained in:
parent
90dff7f8f0
commit
4a5c10849c
|
@ -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
|
||||
];
|
||||
|
|
9
bert/services/http/preview.chandlerswift.com.nix
Normal file
9
bert/services/http/preview.chandlerswift.com.nix
Normal 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}"
|
||||
}
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue