Add ogdo.run redirect
This commit is contained in:
parent
f27bc853aa
commit
b320115d4b
1 changed files with 17 additions and 0 deletions
17
ogdo.nix
17
ogdo.nix
|
@ -35,5 +35,22 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."ogdo.run" = {
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
}
|
||||
{
|
||||
port = 80;
|
||||
addr = "[::]";
|
||||
}
|
||||
];
|
||||
|
||||
rejectSSL = true;
|
||||
|
||||
locations."/".return = "301 http://xn--xx8a.run";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue