make links the main website

This commit is contained in:
Peder Bergebakken Sundt 2023-03-13 01:15:03 +01:00
parent 6ae060e391
commit 1b6598ecbd
2 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,7 @@ in
# Website tunnel
# TODO: remove
/** /
services.nginx.virtualHosts.${config.networking.fqdn} = {
forceSSL = true; # addSSL = true;
enableACME = true;
@ -59,6 +60,7 @@ in
# proxyWebsockets = true;
# };
#};
/**/
}

View File

@ -2,6 +2,7 @@
{
# links.pbsds.net
# TODO: links as the main site is only temporary
services.nginx.virtualHosts."links.pbsds.net" = let
links-pbsds-net = pkgs.fetchFromGitea rec {
name = repo;
@ -12,6 +13,10 @@
hash = "sha256-dx19aTy8K9xkL+cO4r4huYKrlVBZMUkDcbjqxLKe8W4=";
};
in {
serverAliases = [
"pbsds.net"
"www.pbsds.net"
];
#serverAliases = map mkDomain [ "links" ];
forceSSL = true; # addSSL = true;
enableACME = true; #useACMEHost = acmeDomain;