summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
author饺子w (Yumechi) <35571479+eternal-flame-AD@users.noreply.github.com>2025-09-22 05:45:01 -0500
committerGitHub <noreply@github.com>2025-09-22 19:45:01 +0900
commit211365de64a603d1cf4e98ff9a9fb3398480c36c (patch)
tree3c800837721204b6c36db9864d39567830a25b31 /.config
parentenhance(frontend): 絵文字ピッカーのサイズをより大きくでき... (diff)
downloadmisskey-211365de64a603d1cf4e98ff9a9fb3398480c36c.tar.gz
misskey-211365de64a603d1cf4e98ff9a9fb3398480c36c.tar.bz2
misskey-211365de64a603d1cf4e98ff9a9fb3398480c36c.zip
enhance(backend): 設定ファイルにFastifyOptions.trustProxyを追加 (#16567)
* enhance(backend): 設定ファイルにFastifyOptions.trustProxyを追加 Signed-off-by: eternal-flame-AD <yume@yumechi.jp> * try harder Signed-off-by: eternal-flame-AD <yume@yumechi.jp> --------- Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Diffstat (limited to '.config')
-rw-r--r--.config/example.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/example.yml b/.config/example.yml
index c127eaae22..489cceec34 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -105,6 +105,16 @@ port: 3000
# socket: /path/to/misskey.sock
# chmodSocket: '777'
+# Proxy trust settings
+#
+# Changes how the server interpret the origin IP of the request.
+#
+# Any format supported by Fastify is accepted.
+# Default: trust all proxies (i.e. trustProxy: true)
+# See: https://fastify.dev/docs/latest/reference/server/#trustproxy
+#
+# trustProxy: 1
+
# ┌──────────────────────────┐
#───┘ PostgreSQL configuration └────────────────────────────────