diff --git a/profiles/web/default.nix b/profiles/web/default.nix index 25a1d6f..0e7e94b 100644 --- a/profiles/web/default.nix +++ b/profiles/web/default.nix @@ -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; # }; #}; + /**/ } diff --git a/profiles/web/sites/linktree-pbsds/default.nix b/profiles/web/sites/linktree-pbsds/default.nix index 5a57585..6565baa 100644 --- a/profiles/web/sites/linktree-pbsds/default.nix +++ b/profiles/web/sites/linktree-pbsds/default.nix @@ -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;