Browse Source

[calibre] Adding calibre host and weewx config to Caddyfile

Colin Powell 4 years ago
parent
commit
8be2305e71
2 changed files with 44 additions and 17 deletions
  1. 9 0
      ansible/hosts
  2. 35 17
      ansible/roles/caddy/files/Caddyfile

+ 9 - 0
ansible/hosts

@@ -21,6 +21,9 @@ ttrss.local
 fifteen5.local
 mailhog.local
 shibboleth.local
+invidious.local
+weewx.local
+calibre.local
 
 [vms]
 mopidy.local
@@ -98,3 +101,9 @@ mailhog.local
 
 [shibboleth]
 shibboleth.local
+
+[weewx]
+weewx.local
+
+[calibre]
+calibre.local

+ 35 - 17
ansible/roles/caddy/files/Caddyfile

@@ -91,23 +91,6 @@ stream.unbl.ink {
 		transparent
 	}
 }
-
-matrix.unbl.ink:8448 {
-	proxy / matrix.local:8008 {
-		transparent
-	}
-}
-matrix.unbl.ink {
-	proxy /_matrix matrix.local:8008 {
-		transparent
-	}
-}
-chat.unbl.ink {
-	proxy / matrix.local {
-		transparent
-		websocket
-	}
-}
 media.unbl.ink {
 	proxy / iapetus.local:8096 {
 		transparent
@@ -159,3 +142,38 @@ mailhog.unbl.ink:1025 {
 		transparent
 	}
 }
+matrix.unbl.ink {
+  proxy /_matrix matrix.local:8008 {
+    transparent
+  }
+
+  proxy /_synapse/client matrix.local:8008 {
+    transparent
+  }
+}
+matrix.unbl.ink:8448 {
+  proxy /_matrix matrix.local:8008 {
+    transparent
+  }
+}
+chat.unbl.ink {
+	proxy / matrix.local {
+		transparent
+		websocket
+	}
+}
+wx.unbl.ink {
+        proxy / weewx.local {
+                transparent
+        }
+}
+cam1.unbl.ink {
+        proxy / phoebe.local:8082 {
+                transparent
+        }
+}
+library.unbl.ink {
+	proxy / calibre.local:8083 {
+		transparent
+	}
+}