From cdcdd8d4a75d619d2ff84430fe5efa03564cd470 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Mon, 30 Jan 2017 17:41:54 +0100 Subject: [PATCH] add tmp pad hosting --- pennyworth/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pennyworth/configuration.nix b/pennyworth/configuration.nix index 7b65e38..831baa9 100644 --- a/pennyworth/configuration.nix +++ b/pennyworth/configuration.nix @@ -100,7 +100,13 @@ in systemctl restart prosody.service ''; }; - ''; + services.nginx.virtualHosts."pad.yori.cc" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:9140"; + }; + }; # hidden SSH service