diff options
author | Profpatsch <mail@profpatsch.de> | 2017-07-08 21:07:59 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2017-07-08 21:07:59 +0200 |
commit | 581b4d23f0a7d0dd1850c0bf369add8299440cce (patch) | |
tree | 490fd9af208d11186116bb99522371dfd86cb379 /machines/profpatsch/haku.nix | |
parent | 40ffce35bc9f84b17964ce39d63163f545e3fd74 (diff) |
machines/haku: add a pub subdomain
Diffstat (limited to 'machines/profpatsch/haku.nix')
-rw-r--r-- | machines/profpatsch/haku.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix index 901beb44..a5c1c66b 100644 --- a/machines/profpatsch/haku.nix +++ b/machines/profpatsch/haku.nix @@ -70,12 +70,17 @@ in virtualHosts."haku.profpatsch.de" = { forceSSL = true; enableACME = true; - locations."/pub/" = { - proxyPass = "http://localhost:${toString warpspeedPort}/"; - }; locations."/".root = pkgs.writeTextDir "index.html" ''hello world''; serverAliases = [ "lojbanistan.de" ]; }; + virtualHosts."pub.profpatsch.de" = { + forceSSL = false; + enableACME = true; + locations."/" = { + proxyPass = "http://localhost:${toString warpspeedPort}/"; + }; + }; + }; services.mlmmj = { |