From: asteroide Date: Wed, 17 May 2017 13:07:19 +0000 (+0200) Subject: Update CORS in Keystone X-Git-Tag: opnfv-5.1.RC1~84 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F34957%2F1;p=moon.git Update CORS in Keystone Change-Id: I10ad2c3ca73053a8ef38990a75d883b9288f106d --- 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 <