~franz/germanwindows.com.my

ref: c1921995cc8e34e0f1295f3395aff189a48cb3de germanwindows.com.my/s3_website.yml -rw-r--r-- 1.8 KiB
c1921995 — Franz Geffke added new reviews; updated security page 4 months ago
                                                                                
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# You can remove these two lines to have credentials read from
# the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or
# ~/.aws/credentials.
s3_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
s3_secret: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
s3_bucket: germanwindows.com.my

# Below are examples of all the available configurations.
# See README for more detailed info on each of them.

# site: path-to-your-website

site: public/
index_document: index.html
error_document: 404.html

# 1 day 86400
# 7 days 604800
# 30 days 2592000
# 90 days 7776000

cache_control:
  "assets/css": public, max-age=86400 # 1 day
  "assets/js": public, max-age=86400 # 1 day
  "assets/files": public, max-age=2592000 # 30 days
  "assets/fonts": public, max-age=7776000 # 90 days
  "assets/icon": public, max-age=2592000 # 30 days
  "assets/images": public, max-age=2592000 # 30 days
  "assets/images_landing": public, max-age=604800 # 7 days
  "assets/img": public, max-age=604800 # 7 days
  "assets/sounds": public, max-age=2592000 # 30 days
  "assets/videos": public, max-age=2592000 # 30 days

gzip: true

# See http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region for valid endpoints
s3_endpoint: ap-southeast-1

# exclude_from_upload:
#   - those_folders_of_stuff
#   - i_wouldnt_want_to_upload

# s3_reduced_redundancy: true

cloudfront_distribution_id: E3VCZHTBNE3YIY

# cloudfront_distribution_config:
#   default_cache_behavior:
#     min_TTL: <%= 60 * 60 * 24 %>
#   aliases:
#     quantity: 1
#     items:
#       CNAME: your.website.com

cloudfront_invalidate_root: true

# cloudfront_wildcard_invalidation: true

# concurrency_level: 5

routing_rules:
  - condition:
      key_prefix_equals: projects/detail/
    redirect:
      host_name: project.q-windows.com.my
      replace_key_prefix_with: project/
      http_redirect_code: 301