The logs for a job my contain dotfiles, index them

By default our mod auto index setup isn't indexing dotfiles on the logs
server. Some jobs my need to log dotfiles for valid reasons so we should
index them. We can do this by resetting the index ignore rules then
setting it to the upstream apache default of just '.'.

Change-Id: I64e381a4e0bd41df678c6f9f09955063dbd473ff
This commit is contained in:
Clark Boylan 2019-05-23 09:29:31 -07:00
parent b42b3d4e5b
commit fd385b1210
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
Order allow,deny
allow from all
Satisfy Any
# Only ignore the current dir file. Serve other dotfiles which may be logfiles
IndexIgnoreReset ON
IndexIgnore "."
ExpiresActive On
# Data in the logs server is static once generated by a job
ExpiresDefault "access plus 2 weeks"