openstack-manuals/doc/config-reference/object-storage/section_object-storage-cors.xml
Tom Fifield ab58e88c22 Add List Endpoints to object storage confref
This feature was implemented in Havana. Adding a short section
explaining it and the single configuration option it references/

Change-Id: I5a2a393a77741ce5964736f1608cd0d4bbd84847
Closes-Bug: 1095496
2014-01-15 09:21:50 -06:00

18 lines
872 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
xml:id="object-storage-cores">
<title>Cross-origin resource sharing</title>
<para>Cross-Origin Resource Sharing (CORS) is a mechanism to allow code
running in a browser (JavaScript for example) to make requests to a domain
other then the one from where it originated. Swift supports CORS requests
to containers and objects within the containers using metadata held on the
container.
</para>
<para>In addition to the metadata on containers, you can use the
<option>cors_allow_origin</option> option in the
<filename>proxy-server.conf</filename> file to set a list of hosts that
are included with any CORS request by default.</para>
</section>