diff options
author | Tim Burke <tim.burke@gmail.com> | 2020-02-27 10:39:38 -0800 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2021-03-01 10:55:15 -0800 |
commit | 81db9806901a83f4d0016446cdc48e700ab6e788 (patch) | |
tree | e4cdf38e3e807ec9192f49894b3ad699fb6ec6dd /tools | |
parent | c5152ed4d3a37c5e0017be9f0445bf0868561b96 (diff) | |
download | swift-81db9806901a83f4d0016446cdc48e700ab6e788.tar.gz |
s3api: Pass through CORS headers
This adds support for presigned GET URLs, at least.
Note that there is no support yet for preflight requests, so a whole
bunch of other CORS stuff *doesn't* work (yet). This was just an easy
first step.
Change-Id: I43150a630a2a7620099e6bfecaed3bbe958ba423
Diffstat (limited to 'tools')
-rw-r--r-- | tools/playbooks/saio_single_node_setup/add_s3api.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/playbooks/saio_single_node_setup/add_s3api.yaml b/tools/playbooks/saio_single_node_setup/add_s3api.yaml index cde368cd7..24160cfba 100644 --- a/tools/playbooks/saio_single_node_setup/add_s3api.yaml +++ b/tools/playbooks/saio_single_node_setup/add_s3api.yaml @@ -21,3 +21,11 @@ regexp: "container_sync tempauth" replace: "container_sync s3api tempauth" become: true + + - name: Set s3_acl option + ini_file: + path: "/etc/swift/proxy-server.conf" + section: "filter:s3api" + option: "s3_acl" + value: "{{ s3_acl }}" + become: true |