From bbff4a8bf291d2a61a9f2c38bfbec867586aa9ab Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Tue, 24 Feb 2015 21:52:41 +0200 Subject: [PATCH] Update access log format --- app.psgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.psgi b/app.psgi index fd1bcac..42be500 100644 --- a/app.psgi +++ b/app.psgi @@ -12,7 +12,7 @@ use Log::Log4perl; use Tie::Hash::Expire; use constant AUTH_TIMEOUT => 5 * 60; -use constant ACCESSLOG_FORMAT => 'combined'; +use constant ACCESSLOG_FORMAT => '%{X-Forwarded-For}i %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"'; use constant CONTENT_SECURITY_POLICY => q,default-src 'none'; script-src 'self' static.mindcoding.ro www.google-analytics.com; style-src 'self' static.mindcoding.ro; img-src 'self' static.mindcoding.ro www.google-analytics.com; connect-src 'self',; our $db //= Gruntmaster::Data->connect($ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'); -- 2.39.2