# Need a module to wowza 2.x to set headers of CORS

**URL:** <https://community.wowza.com/t/need-a-module-to-wowza-2-x-to-set-headers-of-cors/48878>\
**Category:** Wowza Streaming Engine\
**Created:** [May 30, 2017, 2:18pm UTC](https://community.wowza.com/t/need-a-module-to-wowza-2-x-to-set-headers-of-cors/48878 "2017-05-30T14:18:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cesar\_A\_Fernandes](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@Cesar\_A\_Fernandes](https://community.wowza.com/u/Cesar_A_Fernandes)\
**Post date:** [May 30, 2017, 2:18pm UTC](https://community.wowza.com/t/need-a-module-to-wowza-2-x-to-set-headers-of-cors/48878/1 "2017-05-30T14:18:07Z")

</div>

I need someone that can create a module for wowza 2.x to set the CORS headers like:

Access-Control-Allow-Origin: \*  
Access-Control-Allow-Credentials: true  
Access-Control-Allow-Methods: OPTIONS, GET, POST, HEAD

My email: [cesarlwh@gmail.com](mailto:cesarlwh@gmail.com)

---

<div class="post-metadata">

**Author:** ![Tit\_Petric1](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@Tit\_Petric1](https://community.wowza.com/u/Tit_Petric1)\
**Post date:** [May 31, 2017, 7:49am UTC](https://community.wowza.com/t/need-a-module-to-wowza-2-x-to-set-headers-of-cors/48878/2 "2017-05-31T07:49:37Z")

</div>

I would suggest that you put a modern nginx instance in front of your wowza server. This will reliably enable you to add the CORS headers which you require.

---

<div class="post-metadata">

**Author:** ![Cesar\_A\_Fernandes](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@Cesar\_A\_Fernandes](https://community.wowza.com/u/Cesar_A_Fernandes)\
**Post date:** [May 31, 2017, 3:52pm UTC](https://community.wowza.com/t/need-a-module-to-wowza-2-x-to-set-headers-of-cors/48878/3 "2017-05-31T15:52:03Z")

</div>

Yes but the problem is the IPs on the stats, how to pass the client IP to the wowza?
