# MJPEG-DASH over HTTP behind reverse-proxy / wrong location in mdp manifest

**URL:** https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611
**Category:** Wowza Streaming Engine
**Created:** [February 18, 2016, 4:09pm UTC](https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611 "2016-02-18T16:09:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas\_Pham](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@Thomas\_Pham](https://community.wowza.com/u/Thomas_Pham)
#### Post date: [February 18, 2016, 4:09pm UTC](https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611/1 "2016-02-18T16:09:16Z")

</div>

Hello,

I want to setup DASH live streaming over HTTP behind HaProxy, but when I get the manifest.mpd, the contains the internal IP address / port of the wowza host.

So I wondering how I can change how the stream profile is generated ?

Thank you in advance.

Thomas

---

<div class="post-metadata">

### Author: ![Thomas\_Pham](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@Thomas\_Pham](https://community.wowza.com/u/Thomas_Pham)
#### Post date: [February 18, 2016, 8:02pm UTC](https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611/2 "2016-02-18T20:02:39Z")

</div>

sorry I posted this question too quickly.

In fact I forgot to add “x-forwarded-for” and Co. headers, then manifest was generated accordingly with the right host and port.

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [March 3, 2016, 7:13am UTC](https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611/3 "2016-03-03T07:13:01Z")

</div>

Can you please clarify, is this resolved? If not please update your question.

Thank you,

Salvadore

---

<div class="post-metadata">

### Author: ![Aj\_Singh](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@Aj\_Singh](https://community.wowza.com/u/Aj_Singh)
#### Post date: [January 29, 2020, 11:29pm UTC](https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611/4 "2020-01-29T23:29:41Z")

</div>

I am facing similar issue, It would be great if someone can elaborate how to fix this issue. Where to use `'x-forwarded-for' and Co.`

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [January 29, 2020, 11:57pm UTC](https://community.wowza.com/t/mjpeg-dash-over-http-behind-reverse-proxy-wrong-location-in-mdp-manifest/46611/5 "2020-01-29T23:57:52Z")

</div>

Would you be willing to post this as a brand new question and I will respond right away? This is too old from 2016 and needs to be closed. We have had so many changes since then- best to answer in a 2020 post so people don’t get confused. Thank you so much @Aj Singh.

You can just ask where to configure the x-forwarded- for part in MPEG-DASH setup. You don’t need to repeat everything. Also, let us know what engine version you are using. Thank you.
