diff --git a/lib/compute/jenkins-main-node.ts b/lib/compute/jenkins-main-node.ts index 5dce80a1..7b17532c 100644 --- a/lib/compute/jenkins-main-node.ts +++ b/lib/compute/jenkins-main-node.ts @@ -273,7 +273,9 @@ export class JenkinsMainNode { // Configuration to proxy jenkins on :8080 -> :80 InitFile.fromString('/etc/httpd/conf.d/jenkins.conf', httpConfigProps.useSsl - ? ` + // eslint-disable-next-line no-useless-escape,max-len + ? `LogFormat "%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined & LogFormat "%h %l %u %t \"%r\" %>s %b" common + ServerAdmin webmaster@localhost Redirect permanent / https://replace_url.com/