feat: aux.computer redirects
All checks were successful
buildbot/nix-eval Build done.

This commit is contained in:
Jake Hamilton 2024-08-20 15:38:54 -07:00
parent bf781e7f9e
commit a855c71575
Signed by: jakehamilton
GPG key ID: 9762169A1B35EA68

View file

@ -7,6 +7,7 @@
{ pkgs
, modulesPath
, config
, lib
, ...
}: {
imports = [
@ -85,17 +86,19 @@
virtualHosts = {
"aux.computer" = {
enableACME = true;
locations."/".return = "308 https://auxolotl.org/$request_uri";
forceSSL = true;
globalRedirect = "auxolotl.org";
redirectCode = 308;
};
"forum.aux.computer" = {
enableACME = true;
locations."/".return = "308 https://forum.auxolotl.org/$request_uri";
forceSSL = true;
globalRedirect = "forum.auxolotl.org";
redirectCode = 308;
};
};
};
};
system.stateVersion = "23.11";
}