# Multiple HTTPS sites on Gigalixir using master\_proxy

**URL:** <https://forum.elixirforum.com/t/multiple-https-sites-on-gigalixir-using-master-proxy/33608>\
**Category:** Questions\
**Tags:** proxy, gigalixir, routing\
**Created:** [August 7, 2020, 2:00am UTC](https://forum.elixirforum.com/t/multiple-https-sites-on-gigalixir-using-master-proxy/33608 "2020-08-07T02:00:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hubertlepicki](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hubertlepicki/32/6822_2.png) [@hubertlepicki](https://forum.elixirforum.com/u/hubertlepicki)\
**Post date:** [August 7, 2020, 6:14am UTC](https://forum.elixirforum.com/t/multiple-https-sites-on-gigalixir-using-master-proxy/33608/2 "2020-08-07T06:14:51Z")

</div>

I think the way Gigalixir works (and also Heroku, [Render.com](http://Render.com) etc) is that they provide you the SSL layer for you, and in your own application you should only be concerned with HTTP layer, and maybe a redirect from HTTP to HTTPS.

So you set up your application the usual way, with listening only over HTTP on $PORT, then add custom domains in Gigalixir and set up redirect - all without changing anything in your code, but rather by altering the Gigalixir configuration with it’s CLI:

> **[Domains — GIGALIXIR 1.4.0 documentation](https://gigalixir.readthedocs.io/en/latest/domain.html#how-to-set-up-ssl-tls)**

---

_[View the full topic](https://forum.elixirforum.com/t/multiple-https-sites-on-gigalixir-using-master-proxy/33608)._
