Ondrej Smola | 5b087c3 | 2017-02-13 14:59:01 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | nginx_proxy_radosgw_host: ${_param:cluster_public_host} |
Jiri Broulik | 8f404fa | 2017-10-16 16:18:13 +0200 | [diff] [blame] | 4 | nginx_proxy_radosgw_port: 8080 |
| 5 | nginx_proxy_radosgw_service_host: ${_param:ceph_rgw_address} |
| 6 | nginx_proxy_radosgw_service_port: 8080 |
Ondrej Smola | 5b087c3 | 2017-02-13 14:59:01 +0100 | [diff] [blame] | 7 | nginx: |
| 8 | server: |
| 9 | enabled: true |
| 10 | site: |
| 11 | ceph_radosgw: |
| 12 | enabled: true |
Jiri Broulik | 8f404fa | 2017-10-16 16:18:13 +0200 | [diff] [blame] | 13 | type: nginx_proxy |
Ondrej Smola | 5b087c3 | 2017-02-13 14:59:01 +0100 | [diff] [blame] | 14 | name: ceph_radosgw |
Mateusz Los | 3edbabd | 2019-09-02 15:21:53 +0200 | [diff] [blame] | 15 | proxy_set_header: |
| 16 | Host: |
| 17 | enabled: true |
| 18 | value: "$host" |
| 19 | X-Forwarded-For: |
| 20 | enabled: true |
| 21 | value: "$remote_addr" |
Jiri Broulik | 8f404fa | 2017-10-16 16:18:13 +0200 | [diff] [blame] | 22 | proxy: |
| 23 | host: ${_param:nginx_proxy_radosgw_service_host} |
| 24 | port: ${_param:nginx_proxy_radosgw_service_port} |
| 25 | protocol: http |
Vasyl Saienko | 0c27769 | 2018-12-05 16:55:28 +0200 | [diff] [blame] | 26 | # Prevent nginx from caching request body |
| 27 | request_buffer: false |
Ondrej Smola | 5b087c3 | 2017-02-13 14:59:01 +0100 | [diff] [blame] | 28 | host: |
| 29 | name: ${_param:nginx_proxy_radosgw_host} |
Jiri Broulik | 8f404fa | 2017-10-16 16:18:13 +0200 | [diff] [blame] | 30 | port: ${_param:nginx_proxy_radosgw_port} |
| 31 | protocol: https |
| 32 | ssl: ${_param:nginx_proxy_ssl} |