summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2025-02-10 10:40:06 +0000
committerdakkar <dakkar@thenautilus.net>2025-02-10 10:40:06 +0000
commit427d09e643a554a6711b9349f8a6bbc3499dcfb7 (patch)
treeff598de275fd7de3877e56a3419c436646b9f8b1 /.config
parentmerge: Rework rate limit factors and add caching (resolves #884) (!884) (diff)
downloadsharkey-427d09e643a554a6711b9349f8a6bbc3499dcfb7.tar.gz
sharkey-427d09e643a554a6711b9349f8a6bbc3499dcfb7.tar.bz2
sharkey-427d09e643a554a6711b9349f8a6bbc3499dcfb7.zip
make the listen address configurable - fixes #927
sadly `fastify.listen` doesn't support passing more than 1 address
Diffstat (limited to '.config')
-rw-r--r--.config/example.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/example.yml b/.config/example.yml
index f781b72b91..8d438e93aa 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -100,6 +100,8 @@ url: https://example.tld/
# The port that your Misskey server should listen on.
port: 3000
+# the address to bind to, defaults to "every address"
+# address: '0.0.0.0'
# You can also use UNIX domain socket.
# socket: /path/to/misskey.sock