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:
parent
b42b3d4e5b
commit
fd385b1210
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user