make links the main website
This commit is contained in:
parent
6ae060e391
commit
1b6598ecbd
|
@ -35,6 +35,7 @@ in
|
||||||
|
|
||||||
# Website tunnel
|
# Website tunnel
|
||||||
# TODO: remove
|
# TODO: remove
|
||||||
|
/** /
|
||||||
services.nginx.virtualHosts.${config.networking.fqdn} = {
|
services.nginx.virtualHosts.${config.networking.fqdn} = {
|
||||||
forceSSL = true; # addSSL = true;
|
forceSSL = true; # addSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -59,6 +60,7 @@ in
|
||||||
# proxyWebsockets = true;
|
# proxyWebsockets = true;
|
||||||
# };
|
# };
|
||||||
#};
|
#};
|
||||||
|
/**/
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
# links.pbsds.net
|
# links.pbsds.net
|
||||||
|
|
||||||
|
# TODO: links as the main site is only temporary
|
||||||
services.nginx.virtualHosts."links.pbsds.net" = let
|
services.nginx.virtualHosts."links.pbsds.net" = let
|
||||||
links-pbsds-net = pkgs.fetchFromGitea rec {
|
links-pbsds-net = pkgs.fetchFromGitea rec {
|
||||||
name = repo;
|
name = repo;
|
||||||
|
@ -12,6 +13,10 @@
|
||||||
hash = "sha256-dx19aTy8K9xkL+cO4r4huYKrlVBZMUkDcbjqxLKe8W4=";
|
hash = "sha256-dx19aTy8K9xkL+cO4r4huYKrlVBZMUkDcbjqxLKe8W4=";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
serverAliases = [
|
||||||
|
"pbsds.net"
|
||||||
|
"www.pbsds.net"
|
||||||
|
];
|
||||||
#serverAliases = map mkDomain [ "links" ];
|
#serverAliases = map mkDomain [ "links" ];
|
||||||
forceSSL = true; # addSSL = true;
|
forceSSL = true; # addSSL = true;
|
||||||
enableACME = true; #useACMEHost = acmeDomain;
|
enableACME = true; #useACMEHost = acmeDomain;
|
||||||
|
|
Loading…
Reference in New Issue