From f0504e51e8bdc6fb4dc02af01ccfeee9a9213304 Mon Sep 17 00:00:00 2001 From: asteroide Date: Wed, 17 May 2017 15:07:19 +0200 Subject: Update CORS in Keystone Change-Id: I10ad2c3ca73053a8ef38990a75d883b9288f106d --- moonv4/templates/docker/keystone/run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'moonv4') 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 <