-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths3_website.yml
51 lines (36 loc) · 1.06 KB
/
s3_website.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
s3_id: <%= ENV['S3_ACCESS_KEY'] %>
s3_secret: <%= ENV['S3_SECRET_KEY'] %>
s3_bucket: 'matt.berther.io'
# Below are examples of all the available configurations.
# See README for more detailed info on each of them.
# site: path-to-your-website
max_age: <%= 60 * 60 * 24 %>
gzip:
- .html
- .css
- .md
# gzip_zopfli: true
# See http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region for valid endpoints
# s3_endpoint: us-east-1
# ignore_on_server: that_folder_of_stuff_i_dont_keep_locally
exclude_from_upload:
- .DS_Store
s3_reduced_redundancy: true
cloudfront_distribution_id: <%= ENV['AWS_CLOUDFRONT_ID'] %>
cloudfront_distribution_config:
# default_cache_behavior:
# min_TTL: <%= 60 * 60 * 24 %>
aliases:
quantity: 1
items:
CNAME: matt.berther.io
# cloudfront_invalidate_root: true
index_document: index.html
error_document: 404/index.html
# concurrency_level: 5
redirects:
index.xml: feed.xml
# redirects:
# index.php: /
# about.php: about.html
# music-files/promo.mp4: http://www.youtube.com/watch?v=dQw4w9WgXcQ