mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
feat: redirect julienmalka.me->luj.fr
This commit is contained in:
parent
718128596f
commit
3e615b11a3
2 changed files with 5 additions and 12 deletions
10
lon.lock
10
lon.lock
|
@ -81,16 +81,6 @@
|
||||||
"url": "https://github.com/nix-community/home-manager/archive/fc52a210b60f2f52c74eac41a8647c1573d2071d.tar.gz",
|
"url": "https://github.com/nix-community/home-manager/archive/fc52a210b60f2f52c74eac41a8647c1573d2071d.tar.gz",
|
||||||
"hash": "sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m+Yq++C9AyE="
|
"hash": "sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m+Yq++C9AyE="
|
||||||
},
|
},
|
||||||
"homepage": {
|
|
||||||
"type": "GitHub",
|
|
||||||
"fetchType": "tarball",
|
|
||||||
"owner": "JulienMalka",
|
|
||||||
"repo": "homepage",
|
|
||||||
"branch": "main",
|
|
||||||
"revision": "29e779d8600b1c1e6235570a3614a54f8ec8126e",
|
|
||||||
"url": "https://github.com/JulienMalka/homepage/archive/29e779d8600b1c1e6235570a3614a54f8ec8126e.tar.gz",
|
|
||||||
"hash": "sha256-YuwHCXEbrzuEyRy1/2bX4Rux/nqmzRZ8H44+83JQNV8="
|
|
||||||
},
|
|
||||||
"impermanence": {
|
"impermanence": {
|
||||||
"type": "GitHub",
|
"type": "GitHub",
|
||||||
"fetchType": "tarball",
|
"fetchType": "tarball",
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -18,7 +17,11 @@ in
|
||||||
services.nginx.virtualHosts."julienmalka.me" = {
|
services.nginx.virtualHosts."julienmalka.me" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = inputs.homepage;
|
locations."/" = {
|
||||||
|
extraConfig = ''
|
||||||
|
return 301 https://luj.fr$request_uri;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue