This commit is contained in:
parent
bf781e7f9e
commit
a855c71575
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue