# Website does not forward to https

**URL:** <https://meta.discourse.org/t/website-does-not-forward-to-https/143707>\
**Category:** Self-hosting\
**Created:** [March 9, 2020, 4:10pm UTC](https://meta.discourse.org/t/website-does-not-forward-to-https/143707 "2020-03-09T16:10:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Post date:** [March 11, 2020, 11:35am UTC](https://meta.discourse.org/t/website-does-not-forward-to-https/143707/4 "2020-03-11T11:35:02Z")

</div>

> [@pr0cesor](#):
>
> if ($host = [wolcengame.net](http://wolcengame.net)) { return 301 https://$host$request\_uri; } # managed by Certbot

Remove this part then restart nginx and it should work fine.

---

_[View the full topic](https://meta.discourse.org/t/website-does-not-forward-to-https/143707)._
