From 0af40df7685c02ea0c12d2460aa5de129b018949 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sat, 13 Apr 2019 19:18:26 +0000 Subject: [PATCH] Add Request ID for fun Signed-off-by: Patrick Uiterwijk --- roles/httpd/website/templates/logs.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/httpd/website/templates/logs.conf b/roles/httpd/website/templates/logs.conf index 588792bc25..66352649cb 100644 --- a/roles/httpd/website/templates/logs.conf +++ b/roles/httpd/website/templates/logs.conf @@ -1,2 +1,7 @@ CustomLog "logs/{{ site_name }}-access.log" combined ErrorLog "logs/{{ site_name }}-error.log" + +# Set the request ID for further proxy requests +RequestHeader set X-Fedora-RequestID %{UNIQUE_ID}e +# Reply the request ID back to the client +Header set X-Fedora-RequestID %{UNIQUE_ID}e