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
{{ message }}
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/configuration/arguments.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -494,13 +494,13 @@ If a reverse proxy is used in front of Cortex it might be diffult to troubleshoo
494
494
495
495
- `server.log_source_ips_enabled`
496
496
497
-
Set this to `true` to add logging of the IP of a reverse proxy using the Forwarded, X-Real-IP or X-Forwarded-For headers. A field called `sourceIPs` will be added to error logs when data is pushed into Cortex.
497
+
Set this to `true` to add logging of the IP when a Forwarded, X-Real-IP or X-Forwarded-For header is used. A field called `sourceIPs` will be added to error logs when data is pushed into Cortex.
498
498
499
499
- `server.log-source-ips-header`
500
500
501
-
Header field storing the source IPs. It is only used if `server.log-source-ips-enabled` is true and if `server.log-source-ips-regex` is set. If not set the default Forwarded, X-Real-IP and X-Forwarded-For headers are used.
501
+
Header field storing the source IPs. It is only used if `server.log-source-ips-enabled` is true and if `server.log-source-ips-regex` is set. If not set the default Forwarded, X-Real-IP or X-Forwarded-For headers are searched.
502
502
503
503
- `server.log-source-ips-regex`
504
504
505
-
Regular expression for matching the source IPs. It should contain at least one capturing group the first of which will be returned. Only used if `server.log-source-ips-enabled` is true and if `server.log-source-ips-header` is set. If not set the default Forwarded, X-Real-IP and X-Forwarded-For headers are used.
505
+
Regular expression for matching the source IPs. It should contain at least one capturing group the first of which will be returned. Only used if `server.log-source-ips-enabled` is true and if `server.log-source-ips-header` is set. If not set the default Forwarded, X-Real-IP or X-Forwarded-For headers are searched.
0 commit comments