about summary refs log tree commit diff
path: root/nix/tazserve.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-01-03T13·31+0100
committerVincent Ambo <tazjin@gmail.com>2018-01-03T13·31+0100
commit98281f354851f9233aa2bfa463822857be799b87 (patch)
tree94961d3fac25f5e5bff5e73d98c3ff56fed55930 /nix/tazserve.nix
parent20b26dae3b590f27ba7387572e8da015f0d0b8c0 (diff)
feat(nix): Configure oslo.pub redirect correctly
Diffstat (limited to 'nix/tazserve.nix')
-rw-r--r--nix/tazserve.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix/tazserve.nix b/nix/tazserve.nix
index 97e6313587e9..10fd1d1cbf58 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;";
+    };
   };
 }