Commit 96af484
Fix client IP logging in Watcher API VirtualHost
Align watcher httpd logging with the cinder/nova-operator pattern:
- Add missing SetEnvIf X-Forwarded-For in the VirtualHost block
- Normalize server-level httpd.conf: use standard LogFormat names
(combined, proxy), fix inverted env= on proxy CustomLog, log to
/dev/stdout so logs are visible via oc logs -f
Closes: OSPRH-32126
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Francesco Pantano <fpantano@redhat.com>1 parent 5f64594 commit 96af484
2 files changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
47 | 44 | | |
48 | | - | |
| 45 | + | |
49 | 46 | | |
50 | 47 | | |
0 commit comments