diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-04-20 16:19:26 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-04-20 16:21:25 -0400 |
| commit | ed047e633f6841e017163d1a8f13c3f1724c0228 (patch) | |
| tree | 7ae6920952ed3071dd7b40cec0e6836e26e5e79f | |
| parent | ad2f9626d8d27f86b4b252b8d88454c87be2162e (diff) | |
demiurge: add home.demiurge.epistemia reverse proxy for home-assistant
| -rw-r--r-- | epistemia/systems/demiurge.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/epistemia/systems/demiurge.scm b/epistemia/systems/demiurge.scm index 892cbd0..9c8b090 100644 --- a/epistemia/systems/demiurge.scm +++ b/epistemia/systems/demiurge.scm | |||
| @@ -44,7 +44,9 @@ | |||
| 44 | (list | 44 | (list |
| 45 | (nginx-location-configuration | 45 | (nginx-location-configuration |
| 46 | (uri "/") | 46 | (uri "/") |
| 47 | (body (list (string-append "proxy_pass http://127.0.0.1:" (number->string proxy-port) ";")))))))) | 47 | (body (list (string-append "proxy_pass http://127.0.0.1:" (number->string proxy-port) ";") |
| 48 | "proxy_set_header Upgrade $http_upgrade;" | ||
| 49 | "proxy_set_header Connection \"upgrade\";"))))))) | ||
| 48 | 50 | ||
| 49 | ;; upstream guix updates slowly | 51 | ;; upstream guix updates slowly |
| 50 | (define update-llama-cpp | 52 | (define update-llama-cpp |
| @@ -286,7 +288,8 @@ | |||
| 286 | (nginx-reverse-proxy "searx.demiurge.epistemia" 8081) | 288 | (nginx-reverse-proxy "searx.demiurge.epistemia" 8081) |
| 287 | (nginx-reverse-proxy "redlib.demiurge.epistemia" 8085) | 289 | (nginx-reverse-proxy "redlib.demiurge.epistemia" 8085) |
| 288 | (nginx-reverse-proxy "navidrome.demiurge.epistemia" 4533) | 290 | (nginx-reverse-proxy "navidrome.demiurge.epistemia" 4533) |
| 289 | (nginx-reverse-proxy "sdui.demiurge.epistemia" 5000))))) | 291 | (nginx-reverse-proxy "sdui.demiurge.epistemia" 5000) |
| 292 | (nginx-reverse-proxy "home.demiurge.epistemia" 8123))))) | ||
| 290 | (service pam-limits-service-type | 293 | (service pam-limits-service-type |
| 291 | (list (pam-limits-entry "@audio" 'both 'rtprio 99) | 294 | (list (pam-limits-entry "@audio" 'both 'rtprio 99) |
| 292 | (pam-limits-entry "@audio" 'both 'memlock 'unlimited))) | 295 | (pam-limits-entry "@audio" 'both 'memlock 'unlimited))) |
