summaryrefslogtreecommitdiff
path: root/srv/default.nix
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 17:04:20 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 17:04:20 -0600
commitb4ca8853a9085cb0231f2c4de25a1ec07ef150a0 (patch)
tree266efcf8611cc47aae235a011b7bb30d5b5499a7 /srv/default.nix
parent1ffda21ae38d203e381bedbf7bdbbd69c9031062 (diff)
Update http config names
Diffstat (limited to 'srv/default.nix')
-rw-r--r--srv/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/srv/default.nix b/srv/default.nix
index c55a987..7ca70e8 100644
--- a/srv/default.nix
+++ b/srv/default.nix
@@ -26,10 +26,9 @@
export MEDIOCRE_BLOG_POW_SECRET="${config.powSecret}"
# http
- export MEDIOCRE_BLOG_LISTEN_PROTO="${config.listenProto}"
- export MEDIOCRE_BLOG_LISTEN_ADDR="${config.listenAddr}"
+ export MEDIOCRE_BLOG_LISTEN_PROTO="${config.httpListenProto}"
+ export MEDIOCRE_BLOG_LISTEN_ADDR="${config.httpListenAddr}"
export MEDIOCRE_BLOG_HTTP_AUTH_USERS='${builtins.toJSON config.httpAuthUsers}'
-
export MEDIOCRE_BLOG_HTTP_AUTH_RATELIMIT='${config.httpAuthRatelimit}'
'';