From 98281f354851f9233aa2bfa463822857be799b87 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 3 Jan 2018 14:31:38 +0100 Subject: [PATCH] feat(nix): Configure oslo.pub redirect correctly --- nix/tazserve.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/tazserve.nix b/nix/tazserve.nix index 97e631358..10fd1d1cb 100644 --- a/nix/tazserve.nix +++ b/nix/tazserve.nix @@ -65,5 +65,12 @@ in { proxyPass = "http://127.0.0.1:3000"; }; }; + + # oslo.pub redirect + virtualHosts."oslo.pub" = { + enableACME = true; + forceSSL = true; + extraConfig = "return 302 https://www.google.com/maps/d/viewer?mid=1pJIYY9cuEdt9DuMTbb4etBVq7hs;"; + }; }; }