{pkgs, config, ...}:

{
  imports = [
    ../../oci/watchthingz.nix
  ];
  services.caddy.virtualHosts = {
    "watchthingz.syzygial.cc" = {
	    extraConfig = ''
        reverse_proxy 127.0.0.1:8080 {
          header_up Host {host}
          header_up X-Real-IP {remote_host}
          header_up X-Forwarded-For {remote_host}
          header_up X-Forwarded-Proto {scheme}
        }
      '';
    };
  };
}
