Merge "Enable CORS for nova"

This commit is contained in:
Zuul 2018-02-20 05:06:01 +00:00 committed by Gerrit Code Review
commit 42e9be0ede
2 changed files with 6 additions and 0 deletions

View File

@ -498,6 +498,7 @@ nova_config {
include ::nova::compute::ironic
include ::nova::network::neutron
include ::nova::cors
# Ironic

View File

@ -790,6 +790,11 @@ tripleo::keepalived::virtual_router_id_base: 40
# UI
keystone::cors::allowed_origin: '*'
nova::cors::allowed_origin: '*'
nova::cors::max_age: 3600
nova::cors::allow_methods: 'GET,POST,PUT,DELETE,OPTIONS,PATCH'
nova::cors::allow_headers: 'Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Auth-Token'
nova::cors::expose_headers: 'Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma'
ironic::cors::allowed_origin: '*'
ironic::cors::max_age: 3600
ironic::cors::allow_methods: 'GET,POST,PUT,DELETE,OPTIONS,PATCH'