Please use the shiny responsively
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

s3_website.yml 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. s3_id: <%= ENV['S3_ACCESS_KEY_ID'] %>
  2. s3_secret: <%= ENV['S3_SECRET_KEY'] %>
  3. s3_bucket: habd.as
  4. # Below are examples of all the available configurations.
  5. # See README for more detailed info on each of them.
  6. # site: path-to-your-website
  7. index_document: index.html
  8. error_document: 404.html
  9. max_age:
  10. "assets/*": 2629000
  11. "images/*": 2629000
  12. "*": 300
  13. gzip:
  14. - .html
  15. - .css
  16. - .js
  17. # gzip_zopfli: true
  18. # See http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region for valid endpoints
  19. # s3_endpoint: ap-northeast-1
  20. # ignore_on_server: that_folder_of_stuff_i_dont_keep_locally
  21. # exclude_from_upload:
  22. # - those_folders_of_stuff
  23. # - i_wouldnt_want_to_upload
  24. s3_reduced_redundancy: true
  25. cloudfront_distribution_id: E1ZU8OFZY130NB
  26. cloudfront_distribution_config:
  27. default_cache_behavior:
  28. min_TTL: <%= 60 * 60 * 24 %>
  29. aliases:
  30. quantity: 1
  31. items:
  32. CNAME: habd.as
  33. # cloudfront_invalidate_root: true
  34. cloudfront_wildcard_invalidation: true
  35. # concurrency_level: 5
  36. # redirects:
  37. # index.php: /
  38. # about.php: about.html
  39. # music-files/promo.mp4: http://www.youtube.com/watch?v=dQw4w9WgXcQ
  40. # routing_rules:
  41. # - condition:
  42. # key_prefix_equals: blog/some_path
  43. # redirect:
  44. # host_name: blog.example.com
  45. # replace_key_prefix_with: some_new_path/
  46. # http_redirect_code: 301