# OpenVidu 2.19 - Custom Layout not working

**URL:** <https://openvidu.discourse.group/t/openvidu-2-19-custom-layout-not-working/3280>\
**Category:** Issues with deployment\
**Tags:** v2\
**Created:** [August 5, 2021, 3:10pm UTC](https://openvidu.discourse.group/t/openvidu-2-19-custom-layout-not-working/3280 "2021-08-05T15:10:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [August 16, 2021, 11:38am UTC](https://openvidu.discourse.group/t/openvidu-2-19-custom-layout-not-working/3280/2 "2021-08-16T11:38:02Z")

</div>

I think this message belongs here: [Set GARBAGE\_INTERVAL on 2.12 version - #6 by vitalino](https://openvidu.discourse.group/t/set-garbage-interval-on-2-12-version/3286/6)

The `nginx` container running by our deployment serves custom layouts in `/opt/openvidu/custom-layout`.

From what I can see in your previous posts, you’re locating layout files in `/media/recording/files/layout/` and configuring some env variables.

Probably you would not require apache if you put the files in `/opt/openvidu/custom-layout` and you delete these two environent variables:

- `OPENVIDU_RECORDING_CUSTOM_LAYOUT`
- `OPENVIDU_RECORDING_COMPOSED_URL`

Anyways if it is working for you, there is no need to check it. But it is just a suggestion.

---

_[View the full topic](https://openvidu.discourse.group/t/openvidu-2-19-custom-layout-not-working/3280)._
