Added personal website
This commit is contained in:
parent
a2878180cf
commit
ceb7ee5826
6 changed files with 42 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ in {
|
|||
}) [
|
||||
"kylekrein.com"
|
||||
"*.kylekrein.com"
|
||||
"alexanderlebedev.com"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
matrixLocations = {
|
||||
|
|
@ -94,6 +95,20 @@ in {
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
"alexanderlebedev.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
root = inputs.website.packages.${pkgs.system}.website;
|
||||
extraConfig = ''
|
||||
if ($request_uri ~ ^/(.*)\\.html(\?|$)) {
|
||||
return 302 /$1$is_args$args;
|
||||
}
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
'';
|
||||
};
|
||||
};
|
||||
# https://github.com/NixOS/nixpkgs/issues/218878#issuecomment-2471223335
|
||||
"collabora.kylekrein.com" = {
|
||||
enableACME = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue