# Update the Configuration File for Deployment

**URL:** <https://discuss.elastic.co/t/update-the-configuration-file-for-deployment/243828>\
**Category:** Kibana\
**Created:** [August 5, 2020, 8:43am UTC](https://discuss.elastic.co/t/update-the-configuration-file-for-deployment/243828 "2020-08-05T08:43:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edmond\_Legaspi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/edmond_legaspi/32/60212_2.png) [@Edmond\_Legaspi](https://discuss.elastic.co/u/Edmond_Legaspi)\
**Post date:** [August 5, 2020, 8:43am UTC](https://discuss.elastic.co/t/update-the-configuration-file-for-deployment/243828/1 "2020-08-05T08:43:57Z")

</div>

Hi,

We would like to know if it is possible to add some configuration to kibana.yml files and setup\_connection.js prior to deployment.

Sample is:  
Addin `cors: { additionalHeaders: ['kbn-version','cookie'], origin: ['*'] },` to setup\_connection.js and `server.cors: true server.cors.origin: ["*"] to kibana.yml`

Thanks,

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [August 13, 2020, 6:28pm UTC](https://discuss.elastic.co/t/update-the-configuration-file-for-deployment/243828/2 "2020-08-13T18:28:09Z")

</div>

If I understand what you're looking for, is the ability to specify the CORS accepted origins. If so, that issue is tracked here: [https://github.com/elastic/kibana/issues/16714](https://github.com/elastic/kibana/issues/16714)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 10, 2020, 6:28pm UTC](https://discuss.elastic.co/t/update-the-configuration-file-for-deployment/243828/3 "2020-09-10T18:28:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
