# Заголовок HSTS не установлен при настройке с www и без www

**URL:** <https://meta.discourse.org/t/hsts-header-not-set-with-www-and-non-www-setup/241104>\
**Category:** Product Support\
**Tags:** nginx\
**Created:** [06.Октябрь.2022 08:23:24 UTC](https://meta.discourse.org/t/hsts-header-not-set-with-www-and-non-www-setup/241104 "2022-10-06T08:23:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [06.Октябрь.2022 20:48:43 UTC](https://meta.discourse.org/t/hsts-header-not-set-with-www-and-non-www-setup/241104/3 "2022-10-06T20:48:43Z")

</div>

> [@OrkoGrayskull](#):
>
> Есть какие-то идеи, почему заголовок HSTS **НЕ** установлен для домена **[www.example.com](http://www.example.com)**?

Вам нужно внимательнее изучить файл `web.template.yml` и результирующие файлы конфигурации `nginx`, а затем добавить необходимые настройки, чтобы заставить nginx делать то, что вам нужно.

---

_[View the full topic](https://meta.discourse.org/t/hsts-header-not-set-with-www-and-non-www-setup/241104)._
