~franz/germanwindows.com.my

ref: d44de41547b04bc6f63e918a989b11947deaeeaa germanwindows.com.my/s3_website.yml -rw-r--r-- 2.9 KiB
d44de415Franz Geffke added reviews; fixed mobile nav; updated reviews page title 1 year, 11 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# 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: q-windows.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: E1UM4Z0KIYAXN1

# 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

redirects:
  pages: /
  pages/benefits: windows-doors/why-choose-us/
  pages/about: about/
  pages/contact: contact/
  pages/sound-insulation: soundproofing/
  pages/sound-insulation-detail: soundproofing/detail/
  pages/security: security/
  pages/security-detail: security/detail/
  pages/energy-saving: energy-saving/
  pages/energy-saving-detail: energy-saving/detail/
  pages/glass-production: glass-production/
  pages/aluminum: aluminum-profile/
  pages/terms: terms/
  type/entry/outward-opening-window: type/outward-opening-window/
  type/entry/tilt-turn-window: type/tilt-turn-window/
  type/entry/fixed-window: type/fixed-window/
  type/entry/bay-view: type/bay-view/
  type/entry/casement-door: type/casement-door/
  type/entry/entrance-door: type/entrance-door/
  type/entry/lift-slide: type/lift-slide/
  type/entry/sliding-door: type/sliding-door/
  type/entry/sliding-folding: type/sliding-folding/
  type/entry/outward-opening-window: type/outward-opening-window/
  pages/downloads: windows-doors/technicals/
  projects: /
  /type/doors: /type/entrance-door/

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