# How to deploy insecure-js on custom endpoint?

**URL:** https://openvidu.discourse.group/t/how-to-deploy-insecure-js-on-custom-endpoint/151
**Category:** Issues with deployment
**Tags:** v2
**Created:** [February 17, 2020, 8:39am UTC](https://openvidu.discourse.group/t/how-to-deploy-insecure-js-on-custom-endpoint/151 "2020-02-17T08:39:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![angi](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/angi/32/24_2.png) [@angi](https://openvidu.discourse.group/u/angi)
#### Post date: [February 17, 2020, 8:39am UTC](https://openvidu.discourse.group/t/how-to-deploy-insecure-js-on-custom-endpoint/151/1 "2020-02-17T08:39:33Z")

</div>

ΙI’m trying to deploy the insecure-js app. I’ve already installed OpenVidu server. What should I do now? I’ve placed the source files in the `/var/www/html/` but I want to change the endpoint. For example `https://AMAZON_URL_OR_YOUR_CUSTOM_DOMAIN/call`

---

<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: [February 21, 2020, 2:36pm UTC](https://openvidu.discourse.group/t/how-to-deploy-insecure-js-on-custom-endpoint/151/2 "2020-02-21T14:36:53Z")

</div>

Hi angi. This is a problem related with how to deploy a web, not OpenVidu. If you want this url, maybe you need to configure an nginx server pointing to this url, or just serve the static files and configure a web server to point to this enpoint. I’m sorry but that is not related with OpenVidu itself.
