parameters: | |
_param: | |
nginx_proxy_radosgw_host: ${_param:cluster_public_host} | |
nginx_proxy_radosgw_port: 8080 | |
nginx_proxy_radosgw_service_host: ${_param:ceph_rgw_address} | |
nginx_proxy_radosgw_service_port: 8080 | |
nginx: | |
server: | |
enabled: true | |
site: | |
ceph_radosgw: | |
enabled: true | |
type: nginx_proxy | |
name: ceph_radosgw | |
proxy_set_header: | |
Host: | |
enabled: true | |
value: "$host" | |
X-Forwarded-For: | |
enabled: true | |
value: "$remote_addr" | |
proxy: | |
host: ${_param:nginx_proxy_radosgw_service_host} | |
port: ${_param:nginx_proxy_radosgw_service_port} | |
protocol: http | |
# Prevent nginx from caching request body | |
request_buffer: false | |
host: | |
name: ${_param:nginx_proxy_radosgw_host} | |
port: ${_param:nginx_proxy_radosgw_port} | |
protocol: https | |
ssl: ${_param:nginx_proxy_ssl} |