# How to disable direct https://ipaddress visit?

**URL:** https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927
**Category:** Self-hosting
**Tags:** tablet
**Created:** [September 9, 2016, 10:06am UTC](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927 "2016-09-09T10:06:20Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 9, 2016, 4:46pm UTC](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927/8 "2016-09-09T16:46:03Z")

</div>

Modifing nginx conf inside the container is done trough the app.yml file.

For an example, see [here](https://meta.discourse.org/t/how-to-add-a-custom-http-header-to-your-discourse/26439).

---

_[View the full topic](https://meta.discourse.org/t/how-to-disable-direct-https-ipaddress-visit/49927)._
