Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit f5f496b

Browse files
Reword documentation
Signed-off-by: Michel Hollands <[email protected]>
1 parent ef8aabd commit f5f496b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/configuration/arguments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,13 +494,13 @@ If a reverse proxy is used in front of Cortex it might be diffult to troubleshoo
494494

495495
- `server.log_source_ips_enabled`
496496

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.
498498

499499
- `server.log-source-ips-header`
500500

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.
502502

503503
- `server.log-source-ips-regex`
504504

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.
506506

0 commit comments

Comments
 (0)