forked from Gigaspaces/xap-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
s3_website.yml
55 lines (45 loc) · 1.17 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
52
53
54
55
<% if ENV['DOCS_TARGET'] == "PROD" %>
s3_id: <%= ENV['PROD_S3_ID'] %>
s3_secret: <%= ENV['PROD_S3_SECRET'] %>
s3_bucket: docs.gigaspaces.com-v2
s3_endpoint: us-east-1
<% else %>
s3_id: <%= ENV['STAGING_S3_ID'] %>
s3_secret: <%= ENV['STAGING_S3_SECRET'] %>
s3_bucket: docs-staging.gigaspaces.com
s3_endpoint: eu-west-1
<% end %>
s3_reduced_redundancy: true
# Below are examples of all the available configurations.
# See README for more detailed info on each of them.
max_age:
"*": 300
# gzip:
# - .html
# - .css
# - .md
ignore_on_server:
- api
- xap/resources
#routing_rules:
# - condition:
# key_prefix_equals: xap100net/
# redirect:
# replace_key_prefix_with: xap/10.0/dev/dotnet/
# http_redirect_code: 301
# cloudfront_distribution_id: your-dist-id
# cloudfront_distribution_config:
# default_cache_behavior:
# min_TTL: <%= 60 * 60 * 24 %>
# aliases:
# quantity: 1
# items:
# CNAME: your.website.com
concurrency_level: 3
# routing_rules:
# - condition:
# key_prefix_equals: blog/some_path
# redirect:
# host_name: blog.example.com
# replace_key_prefix_with: some_new_path/
# http_redirect_code: 301