diff options
author | asteroide <thomas.duval@orange.com> | 2017-05-17 15:07:19 +0200 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2017-05-17 15:07:19 +0200 |
commit | f0504e51e8bdc6fb4dc02af01ccfeee9a9213304 (patch) | |
tree | cab34e891fe63d9a29ee38489fb57abc97aad068 /moonv4/templates/docker/keystone | |
parent | 725e85c2b8515126845cdbf8ece1f32e612a7687 (diff) |
Update CORS in Keystone
Change-Id: I10ad2c3ca73053a8ef38990a75d883b9288f106d
Diffstat (limited to 'moonv4/templates/docker/keystone')
-rw-r--r-- | moonv4/templates/docker/keystone/run.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/moonv4/templates/docker/keystone/run.sh b/moonv4/templates/docker/keystone/run.sh index 1442807b..b80dd3f1 100644 --- a/moonv4/templates/docker/keystone/run.sh +++ b/moonv4/templates/docker/keystone/run.sh @@ -16,9 +16,7 @@ cat << EOF | tee -a /etc/keystone/keystone.conf [cors] allowed_origin = $INTERFACE_HOST max_age = 3600 -allow_methods = GET,POST,PUT,DELETE -allow_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Custom-Header -expose_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Custom-Header +allow_methods = POST,DELETE EOF mysql -h $DB_HOST -u$DB_USER_ROOT -p$DB_PASSWORD_ROOT <<EOF |