Code Review
/
moon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
725e85c
)
Update CORS in Keystone
57/34957/1
author
asteroide
<thomas.duval@orange.com>
Wed, 17 May 2017 13:07:19 +0000
(15:07 +0200)
committer
asteroide
<thomas.duval@orange.com>
Wed, 17 May 2017 13:07:19 +0000
(15:07 +0200)
Change-Id: I10ad2c3ca73053a8ef38990a75d883b9288f106d
moonv4/templates/docker/keystone/run.sh
patch
|
blob
|
history
diff --git
a/moonv4/templates/docker/keystone/run.sh
b/moonv4/templates/docker/keystone/run.sh
index
1442807
..
b80dd3f
100644
(file)
--- 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