Commit da592d5
Fix client IP logging in Neutron API VirtualHost
The VirtualHost CustomLog directive was overriding the server-level
dual-log setup, causing all requests to be logged with the OpenShift
router IP instead of the real client IP from X-Forwarded-For.
Add SetEnvIf and dual CustomLog lines inside the VirtualHost block
to match the nova-operator pattern.
Closes: OSPRH-32126
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Francesco Pantano <fpantano@redhat.com>1 parent 03235a2 commit da592d5
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
0 commit comments