summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-10-28 14:58:13 -0500
committerAndy Doan <andy.doan@linaro.org>2016-10-28 20:12:20 +0000
commit9b85205183e495902e679a3afd246b8bb2b71f4e (patch)
tree7ccd48d558889de55434bd675ca2e0a51475085f
parentf9c366907213dc85a680eda87f9ce8360853d8dc (diff)
downloadansible-playbooks-9b85205183e495902e679a3afd246b8bb2b71f4e.tar.gz
git-dumb: add Last-Modified header
The change to move the manifest location to repo_root: https://review.linaro.org/#/c/15100/ Requires that last-modified headers be available when browsing that directory. I found a good source about git http hosting and they say Last-Modified is fine to provide: https://gist.github.com/schacon/6092633#file-git-http-proto-txt-L133 Change-Id: I7c992d2e56184339d5ad4249ed394e6ae1ebbd5e Reviewed-on: https://review.linaro.org/15103 Reviewed-by: Ben Copeland <ben.copeland@linaro.org>
-rw-r--r--per-service/git-servers/files/git.linaro.org.conf2
1 files changed, 0 insertions, 2 deletions
diff --git a/per-service/git-servers/files/git.linaro.org.conf b/per-service/git-servers/files/git.linaro.org.conf
index aea1cca..b6d517b 100644
--- a/per-service/git-servers/files/git.linaro.org.conf
+++ b/per-service/git-servers/files/git.linaro.org.conf
@@ -101,7 +101,6 @@ ServerTokens Prod
ExpiresActive Off
FileEtag None
Header set Cache-Control "no-cache, no-store, no-transform"
- Header unset Last-Modified
<FilesMatch "\.(bundle)$">
FileEtag MTime
Header set Cache-Control "no-transform, must-revalidate, max-age=518400"
@@ -231,7 +230,6 @@ ServerTokens Prod
ExpiresActive Off
FileEtag None
Header set Cache-Control "no-cache, no-store, no-transform"
- Header unset Last-Modified
<FilesMatch "\.(bundle)$">
FileEtag MTime
Header set Cache-Control "no-transform, must-revalidate, max-age=518400"