enable apache style access logging per https://github.com/netdisco/netdisco/issues/715#issuecomment-624201815
This commit is contained in:
1
Build.PL
1
Build.PL
@@ -68,6 +68,7 @@ Module::Build->new(
|
|||||||
'Path::Class' => '0.32',
|
'Path::Class' => '0.32',
|
||||||
'Plack' => '1.0023',
|
'Plack' => '1.0023',
|
||||||
'Plack::Handler::Twiggy' => '0',
|
'Plack::Handler::Twiggy' => '0',
|
||||||
|
'Plack::Middleware::AccessLog' => '0',
|
||||||
'Plack::Middleware::Debug' => '0',
|
'Plack::Middleware::Debug' => '0',
|
||||||
'Plack::Middleware::Expires' => '0.03',
|
'Plack::Middleware::Expires' => '0.03',
|
||||||
'Plack::Middleware::ReverseProxy' => '0.15',
|
'Plack::Middleware::ReverseProxy' => '0.15',
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set plack_middlewares => [
|
set plack_middlewares => [
|
||||||
|
['Plack::Middleware::AccessLog'],
|
||||||
['Plack::Middleware::ReverseProxy'],
|
['Plack::Middleware::ReverseProxy'],
|
||||||
[ Expires => (
|
[ Expires => (
|
||||||
content_type => [qr{^application/javascript}, qr{^text/css}, qr{image}, qr{font}],
|
content_type => [qr{^application/javascript}, qr{^text/css}, qr{image}, qr{font}],
|
||||||
|
|||||||
Reference in New Issue
Block a user