RGW: Add static website hosting configuration

pull/1226/head
Logan V 2017-01-16 08:27:44 -06:00
parent 6f3a98919c
commit 4941de838c
3 changed files with 10 additions and 0 deletions

View File

@ -319,6 +319,9 @@ dummy:
#radosgw_usage_log_flush_threshold: 1024 #radosgw_usage_log_flush_threshold: 1024
#radosgw_usage_max_shards: 32 #radosgw_usage_max_shards: 32
#radosgw_usage_max_user_shards: 1 #radosgw_usage_max_user_shards: 1
# Settings for static website hosting
#radosgw_static_website: false
#radosgw_dns_s3website_name: your.subdomain.tld # subdomain used by radosgw for website bucket hosting.
# Rados Gateway options # Rados Gateway options
#email_address: foo@bar.com #email_address: foo@bar.com

View File

@ -311,6 +311,9 @@ radosgw_usage_log_tick_interval: 30
radosgw_usage_log_flush_threshold: 1024 radosgw_usage_log_flush_threshold: 1024
radosgw_usage_max_shards: 32 radosgw_usage_max_shards: 32
radosgw_usage_max_user_shards: 1 radosgw_usage_max_user_shards: 1
# Settings for static website hosting
radosgw_static_website: false
radosgw_dns_s3website_name: your.subdomain.tld # subdomain used by radosgw for website bucket hosting.
# Rados Gateway options # Rados Gateway options
email_address: foo@bar.com email_address: foo@bar.com

View File

@ -138,6 +138,10 @@ rgw usage log flush threshold = {{ radosgw_usage_log_flush_threshold }}
rgw usage max shards = {{ radosgw_usage_max_shards }} rgw usage max shards = {{ radosgw_usage_max_shards }}
rgw usage max user shards = {{ radosgw_usage_max_user_shards }} rgw usage max user shards = {{ radosgw_usage_max_user_shards }}
{% endif %} {% endif %}
{% if radosgw_static_website | bool %}
rgw enable static website = {{ radosgw_static_website }}
rgw dns s3website name = {{ radosgw_dns_s3website_name }}
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}