summaryrefslogtreecommitdiff
path: root/srv/default.nix
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-08-30 20:08:51 -0600
committerBrian Picciano <mediocregopher@gmail.com>2021-08-30 20:44:45 -0600
commit9343d2ea697f13e52e9199fce62a959f1954f580 (patch)
treee1e36e330a3c9891bfd8a625229a9b417ad89afa /srv/default.nix
parent3e9a17abb9a9d63af3c260fba9dc404dd9c59ade (diff)
add chat handlers and only allow POST methods
Diffstat (limited to 'srv/default.nix')
-rw-r--r--srv/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/srv/default.nix b/srv/default.nix
index c723156..eaf6ddc 100644
--- a/srv/default.nix
+++ b/srv/default.nix
@@ -11,6 +11,8 @@
"-pow-secret=${config.powSecret}"
"-listen-proto=${config.listenProto}"
"-listen-addr=${config.listenAddr}"
+ "-redis-proto=unix"
+ "-redis-addr=${config.runDir}/redis"
] ++ (
if config.staticProxyURL == ""
then [ "-static-dir=${staticBuild}" ]