Publish .log files as text/plain
Default apache mimetypes don't include .log as text/plain; add it. Log export was added with I67870f6d439af2d2a63a5048ef52cecff3e75275 so match the .log.1 file that logrotate creates for our rsync mirror logs too. Change-Id: Iaf3f19d26f3a6fda7ef3571573af219a31f1dced
This commit is contained in:
parent
482abf3bf0
commit
e15735e586
@ -112,6 +112,8 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \
|
|||||||
CustomLog /var/log/apache2/mirror_$port_access.log combined-cache
|
CustomLog /var/log/apache2/mirror_$port_access.log combined-cache
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
|
|
||||||
|
AddType text/plain .log .log.1
|
||||||
|
|
||||||
</Macro>
|
</Macro>
|
||||||
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user