# My discourse has either been hacked or catfished?

**URL:** <https://meta.discourse.org/t/my-discourse-has-either-been-hacked-or-catfished/43697>\
**Category:** Product Support\
**Created:** [5. Mai 2016 um 00:04 UTC](https://meta.discourse.org/t/my-discourse-has-either-been-hacked-or-catfished/43697 "2016-05-05T00:04:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)\
**Post date:** [6. Mai 2016 um 08:51 UTC](https://meta.discourse.org/t/my-discourse-has-either-been-hacked-or-catfished/43697/7 "2016-05-06T08:51:50Z")

</div>

Sometime, it’s quite useful for helping reduce the redirection configuration, i.e. `www`

And I am pretty sure web ssl template will redirect the user to the actual domain.

```nginx
if ($http_host != $$ENV_DISCOURSE_HOSTNAME) {
    rewrite (.*) https://$$ENV_DISCOURSE_HOSTNAME$1 permanent;
}

```

ssl and letsencrypt templates would relieve you from all kinds of troubles.

EDIT: You don’t even need to issue any certs for domain where you want redirection comes from.

---

_[View the full topic](https://meta.discourse.org/t/my-discourse-has-either-been-hacked-or-catfished/43697)._
