diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index f85f0e7..312faa9 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -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 ]; diff --git a/bert/services/http/preview.chandlerswift.com.nix b/bert/services/http/preview.chandlerswift.com.nix new file mode 100644 index 0000000..f0da071 --- /dev/null +++ b/bert/services/http/preview.chandlerswift.com.nix @@ -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}" + } + ''; +}