From b320115d4bc60e633ac9a1e13e41424b0f9b533d Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Sat, 20 Apr 2024 12:47:03 -0700 Subject: [PATCH] Add ogdo.run redirect --- ogdo.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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"; + }; }; }