# Https://www Unsecure and Not Redirecting

**URL:** https://discourse.roots.io/t/https-www-unsecure-and-not-redirecting/7071
**Category:** trellis
**Created:** 2016-06-27T00:19:48Z
**Posts:** 35
**Showing post:** 9 of 35

## Post 9 by @fullyint — 2016-06-27T19:44:54Z

I’m not certain this will work, but you could try the [temporary solution](https://discourse.roots.io/t/problems-with-com-au-domains/6680/9) (I think you’ve applied that already) then run [these steps](https://discourse.roots.io/t/letsencrypt-acme-challenge-error/6295/7) to hopefully iron out potential problems in your nginx conf.

If that doesn’t resolve the issue, could you update us on what the latest errors are exactly?

I apologize for mentioning the nginx includes option because looking at it a little more, I see that it will not currently accommodate your redirect on the domain level. The problem is that the [includes](https://github.com/roots/trellis/blob/263d05561f1aa0b61ba5162cb71d752cdba54fb3/roles/wordpress-setup/templates/wordpress-site.conf.j2#L43) happen within the `server` block but in your case would need to create a separate server block. If you’re curious, however, here is an [example](https://discourse.roots.io/t/diving-into-trellis-running-a-fresh-unchanged-config/5935/7) of using nginx includes.

---

_[View the full topic](https://discourse.roots.io/t/https-www-unsecure-and-not-redirecting/7071)._
