# Links to REST api scripts are over http not https

**URL:** <https://forum.metasfresh.org/t/links-to-rest-api-scripts-are-over-http-not-https/1706>\
**Category:** Uncategorized\
**Created:** [October 12, 2019, 4:42pm UTC](https://forum.metasfresh.org/t/links-to-rest-api-scripts-are-over-http-not-https/1706 "2019-10-12T16:42:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mxc](https://forum.metasfresh.org/letter_avatar_proxy/v4/letter/m/f19dbf/32.png) [@mxc](https://forum.metasfresh.org/u/mxc)\
**Post date:** [October 12, 2019, 4:42pm UTC](https://forum.metasfresh.org/t/links-to-rest-api-scripts-are-over-http-not-https/1706/1 "2019-10-12T16:42:47Z")

</div>

I am using nginx-proxy to handle the ssl to metasfresh. I have set “WEBAPI\_URL” in docker-compose.yml to “WEBAPI\_URL=https://my.domina.co.za”. On the login page all the links to the rest api are over http and consequently blocked by the browser. This behaviour can be disabled in the browser but it would be better to fix the links if the WEBAPI\_URL is set to https.

regards

---

<div class="post-metadata">

**Author:** ![metasnw](https://forum.metasfresh.org/user_avatar/forum.metasfresh.org/metasnw/32/23_2.png) [@metasnw](https://forum.metasfresh.org/u/metasnw)\
**Post date:** [October 14, 2019, 6:58am UTC](https://forum.metasfresh.org/t/links-to-rest-api-scripts-are-over-http-not-https/1706/2 "2019-10-14T06:58:45Z")

</div>

hi

you can setup the API to use SSL and then you can use https on the client.  
Here is a howto: [http://docs.metasfresh.org/installation\_collection/EN/How\_do\_I\_setup\_metasfresh\_docker\_with\_ssl.html](http://docs.metasfresh.org/installation_collection/EN/How_do_I_setup_metasfresh_docker_with_ssl.html)

cheers,  
norbert
