make links the main website
This commit is contained in:
parent
6ae060e391
commit
1b6598ecbd
|
@ -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;
|
||||
# };
|
||||
#};
|
||||
/**/
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue