Browse Source

pulsebert: https the ympd

container/radius
Astro 1 year ago
parent
commit
a5fa3a45f4
1 changed files with 11 additions and 1 deletions
  1. 11
    1
      hosts/pulsebert/configuration.nix

+ 11
- 1
hosts/pulsebert/configuration.nix View File

@@ -148,6 +148,16 @@
148 148
 	}
149 149
 	'';
150 150
   };
151
+  services.caddy = {
152
+    enable = true;
153
+    agree = true;
154
+    # TODO: add auth?
155
+    config = ''
156
+        mpd.hq.c3d2.de
157
+        proxy / localhost:8080
158
+    '';
159
+  };
160
+
151 161
 
152 162
  fileSystems."/mnt/storage" = {
153 163
     device = "storage.hq.c3d2.de:/mnt/zroot/storage/rpool";
@@ -157,7 +167,7 @@
157 167
   # MPD music playing daemon with webinterface
158 168
   services.ympd = {
159 169
     enable = true;
160
-    webPort = "80";
170
+    webPort = "8080";
161 171
   };
162 172
   
163 173
 }

Loading…
Cancel
Save