mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02: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
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
@ -18,7 +17,11 @@ in
|
|||
services.nginx.virtualHosts."julienmalka.me" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = inputs.homepage;
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
return 301 https://luj.fr$request_uri;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue