Last active
January 11, 2016 10:15
-
-
Save ndarville/2f34c1a7e6190cb95418 to your computer and use it in GitHub Desktop.
s3_website.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
max_age: | |
"*.csv": <%= 60 * 30 %> | |
"*.tsv": <%= 60 * 30 %> | |
"*.json": <%= 60 * 30 %> | |
"*": <%= 60 * 5 %> | |
gzip: true | |
gzip: | |
- .html | |
- .css | |
- .js | |
- .csv | |
- .tsv | |
- .json | |
cloudfront_distribution_config: | |
default_cache_behavior: | |
"min_TTL": <%= 60 * 60 * 24 %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
max_age: | |
"*.csv": <%= 60 * 30 %> | |
"*.tsv": <%= 60 * 30 %> | |
"*.json": <%= 60 * 30 %> | |
"*": <%= 60 * 5 %> | |
gzip: true | |
gzip: | |
- .txt | |
- .html | |
- .xml | |
- .scss | |
- .css | |
- .js | |
- .jsx | |
- .csv | |
- .tsv | |
- .json | |
- .yml | |
- .yaml | |
- .jpg | |
- .jpeg | |
- .png | |
- .webm | |
- .mp4 | |
- .ogg | |
- .gif | |
- .eot | |
- .ttf | |
- .woff2 | |
- .svg | |
- .woff | |
- .ico | |
cloudfront_distribution_config: | |
default_cache_behavior: | |
"min_TTL": <%= 60 * 60 * 24 %> | |
s3_reduced_redundancy: false | |
##https://github.com/laurilehmijoki/s3_website/issues/126 | |
# s3_endpoint: eu-central-1 | |
# ignore_on_server: "" | |
exclude_from_upload: | |
- .git/ # Might not work | |
- \.gitignore | |
# - .* | |
# - test/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment