mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-26 01:34:00 -04:00
Merge pull request #4522 from mitchellh/sethvargo-patch-1
Change cache to 4h
This commit is contained in:
@@ -58,7 +58,7 @@ if [ -z "$NO_UPLOAD" ]; then
|
||||
--no-mime-magic \
|
||||
--acl-public \
|
||||
--recursive \
|
||||
--add-header="Cache-Control: max-age=31536000" \
|
||||
--add-header="Cache-Control: max-age=14400" \
|
||||
--add-header="x-amz-meta-surrogate-key: site-$PROJECT" \
|
||||
sync "$DIR/build/" "s3://hc-sites/$PROJECT/latest/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user