From a5fa3a45f481b446e10c14138eb008d3117bbb80 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 11 Feb 2019 00:55:37 +0100 Subject: [PATCH] pulsebert: https the ympd --- hosts/pulsebert/configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/pulsebert/configuration.nix b/hosts/pulsebert/configuration.nix index bff381ad..d04e4fe5 100644 --- a/hosts/pulsebert/configuration.nix +++ b/hosts/pulsebert/configuration.nix @@ -148,6 +148,16 @@ } ''; }; + services.caddy = { + enable = true; + agree = true; + # TODO: add auth? + config = '' + mpd.hq.c3d2.de + proxy / localhost:8080 + ''; + }; + fileSystems."/mnt/storage" = { device = "storage.hq.c3d2.de:/mnt/zroot/storage/rpool"; @@ -157,7 +167,7 @@ # MPD music playing daemon with webinterface services.ympd = { enable = true; - webPort = "80"; + webPort = "8080"; }; }