diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 28f698ac..32eccf08 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -413,6 +413,10 @@ in job = web:web:web command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/web + + job = web:web:nmigen-docs + command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/nmigen-docs + job = artiq:sipyco:sipyco-manual-html @@ -797,19 +801,15 @@ in locations."/socket.io/".proxyPass = "http://127.0.0.1:9825"; locations."/socket.io/".proxyWebsockets = true; }; - "nmigen.org" = { + "nmigen.net" = { addSSL = true; enableACME = true; - locations."/".extraConfig = '' - return 307 https://m-labs.hk/gateware/nmigen/; - ''; + root = "${hydraWwwOutputs}/nmigen-docs"; }; - "www.nmigen.org" = { + "www.nmigen.net" = { addSSL = true; enableACME = true; - locations."/".extraConfig = '' - return 307 https://m-labs.hk/gateware/nmigen/; - ''; + root = "${hydraWwwOutputs}/nmigen-docs"; }; }; };