aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/templates
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-05-17 15:07:19 +0200
committerasteroide <thomas.duval@orange.com>2017-05-17 15:07:19 +0200
commitf0504e51e8bdc6fb4dc02af01ccfeee9a9213304 (patch)
treecab34e891fe63d9a29ee38489fb57abc97aad068 /moonv4/templates
parent725e85c2b8515126845cdbf8ece1f32e612a7687 (diff)
Update CORS in Keystone
Change-Id: I10ad2c3ca73053a8ef38990a75d883b9288f106d
Diffstat (limited to 'moonv4/templates')
-rw-r--r--moonv4/templates/docker/keystone/run.sh4
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