diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-13T21·23+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-20T10·26+0100 |
commit | 0b34482b6da9ef0d2178d5dba5a99485d62281d8 (patch) | |
tree | ebcabda9b4e8f51be7c0b97685245dfefe7f9369 | |
parent | f895cb417a7a397e9ddac7d2be7683e57e3cb1fb (diff) |
Forward zoo.wpcarro.dev connections to :8000
Right now the 8000 port is hard-coded into the zoo server, which isn't ideal, but "it works" (TM).
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | nixos/socrates/configuration.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/default.nix b/default.nix index d6d32c45195c..25a54f3ca675 100644 --- a/default.nix +++ b/default.nix @@ -33,4 +33,5 @@ in { third_party = readTree ./third_party; tools = readTree ./tools; buildHaskell = readTree ./buildHaskell; + zoo = readTree ./zoo; } diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix index 0af4a314191d..c04281e4ac61 100644 --- a/nixos/socrates/configuration.nix +++ b/nixos/socrates/configuration.nix @@ -209,6 +209,13 @@ in { enableACME = true; root = briefcase.website.sandbox.learnpianochords; }; + "zoo.wpcarro.dev" = { + addSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:8000"; + }; + }; }; }; |