diff --git a/ogdo.nix b/ogdo.nix index 25488d4..8869a7f 100644 --- a/ogdo.nix +++ b/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"; + }; }; }