You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONFIGURATION.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,7 @@ The settings below are listed in alphabetical order by name. Please keep this ta
126
126
| mirroring.static[].skipAdmissionCheck | Disable the admission fee check for events coming from this mirror. |
127
127
| network.maxPayloadSize | Maximum number of bytes accepted per WebSocket frame |
128
128
| network.remoteIpHeader | HTTP header from proxy containing IP address from client. |
129
+
| network.trustedProxies | Optional allow-list of proxy IPs allowed to set `network.remoteIpHeader`; otherwise socket remote IP is used. |
129
130
| nip05.domainBlacklist | List of domains blocked from NIP-05 verification. Authors with NIP-05 at these domains will be rejected. |
130
131
| nip05.domainWhitelist | List of domains allowed for NIP-05 verification. If set, only authors verified at these domains can publish. |
131
132
| nip05.maxConsecutiveFailures | Number of consecutive verification failures before giving up on an author. Defaults to 20. |
@@ -144,5 +145,4 @@ The settings below are listed in alphabetical order by name. Please keep this ta
144
145
| payments.feeSchedules.admission[].whitelists.event_kinds | List of event kinds to waive admission fee. Use `[min, max]` for ranges. |
145
146
| payments.feeSchedules.admission[].whitelists.pubkeys | List of pubkeys to waive admission fee. |
146
147
| payments.processor | Either `zebedee`, `lnbits`, `lnurl`. |
147
-
| workers.count | Number of workers to spin up to handle incoming connections. |
148
-
|| Spin workers as many CPUs are available when set to zero. Defaults to zero. |
148
+
| workers.count | Number of workers to spin up to handle incoming connections. Spin workers as many CPUs are available when set to zero. Defaults to zero. |
console.warn('WARNING: network.remoteIpHeader is set but network.trustedProxies is empty. Forwarded headers will be ignored. Add your proxy IP to network.trustedProxies.')
0 commit comments