@@ -105,6 +105,16 @@ port: 3000
105105# socket: /path/to/cherrypick.sock
106106# chmodSocket: '777'
107107
108+ # Proxy trust settings
109+ #
110+ # Changes how the server interpret the origin IP of the request.
111+ #
112+ # Any format supported by Fastify is accepted.
113+ # Default: trust all proxies (i.e. trustProxy: true)
114+ # See: https://fastify.dev/docs/latest/reference/server/#trustproxy
115+ #
116+ # trustProxy: 1
117+
108118# ┌──────────────────────────┐
109119# ───┘ PostgreSQL configuration └────────────────────────────────
110120
@@ -344,35 +354,19 @@ proxyBypassHosts:
344354# * Perform image compression (on a different server resource than the main process)
345355# mediaProxy: https://example.com/proxy
346356
347- # Proxy remote files endpoint
348- # remoteProxy: https://example.com/files/
349- # remoteProxy: /files/
350-
351- # Proxy remote files (default: true)
352- # Proxy remote files by this instance or mediaProxy to prevent remote files from running in remote domains.
353- proxyRemoteFiles : true
354-
355357# Movie Thumbnail Generation URL
356358# There is no reference implementation.
357359# For example, CherryPick will point to the following URL:
358360# https://example.com/thumbnail.webp?thumbnail=1&url=https%3A%2F%2Fstorage.example.com%2Fpath%2Fto%2Fvideo.mp4
359361# videoThumbnailGenerator: https://example.com
360362
361- # Sign to ActivityPub GET request (default: true)
362- signToActivityPubGet : true
363-
364363# For security reasons, uploading attachments from the intranet is prohibited,
365364# but exceptions can be made from the following settings. Default value is "undefined".
366365# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
367366# allowedPrivateNetworks: [
368367# '127.0.0.1/32'
369368# ]
370369
371- # Disable automatic redirect for ActivityPub object lookup. (default: false)
372- # This is a strong defense against potential impersonation attacks if the viewer instance has inadequate validation.
373- # However it will make it impossible for other instances to lookup third-party user and notes through your URL.
374- # disallowExternalApRedirect: true
375-
376370# Upload or download file size limits (bytes)
377371# maxFileSize: 262144000
378372
0 commit comments