# En-tête HSTS non défini avec la configuration www et non www

**URL:** <https://meta.discourse.org/t/hsts-header-not-set-with-www-and-non-www-setup/241104>\
**Category:** Product Support\
**Tags:** nginx\
**Created:** [Octobre 6, 2022, 8:23 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:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [Octobre 6, 2022, 8:36 UTC](https://meta.discourse.org/t/hsts-header-not-set-with-www-and-non-www-setup/241104/2 "2022-10-06T08:36:23Z")

</div>

Intéressant, j’ai récemment migré vers le sous-domaine `www` et mon apex manque de HSTS, mais je me demande si cela a quelque chose à voir avec la redirection et le manque de réponse directe du serveur ? L’apex obtient toujours une note ‘A’ (bien que moindre)… cela affecterait-il la réputation du serveur, le SEO ? Les choses fonctionnent _certainement_ bien sans cela.

Je ne sais pas si c’est utile ? :

> <https://serverfault.com/questions/919425/nginx-hsts-and-redirect-non-www-to-www>

---

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