diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-01-03T13·31+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-01-03T13·31+0100 |
commit | 98281f354851f9233aa2bfa463822857be799b87 (patch) | |
tree | 94961d3fac25f5e5bff5e73d98c3ff56fed55930 | |
parent | 20b26dae3b590f27ba7387572e8da015f0d0b8c0 (diff) |
feat(nix): Configure oslo.pub redirect correctly
-rw-r--r-- | nix/tazserve.nix | 7 |
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;"; + }; }; } |