Discourse Meta
Supported way of adding "IncludeSubdomain" to STS headers
Dev
supermathie
(Michael Brown)
January 9, 2026, 10:23pm
2
Does using
set_header
instead of
add_header
solve the problem?
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Help adding includeSubDomains to the Strict-Transport-Security header
Hosting
5
100
September 22, 2025
Set Strict-Transport-Security header
Installation
3
578
October 10, 2022
Add a custom HTTP header to requests made to your Discourse
Sysadmins
how-to
5
4757
September 12, 2016
HSTS header not set with www and non www setup
Support
nginx
2
743
October 6, 2022
Let’s Encrypt problem after upgrading to 1.9.0.beta3
Bug
14
1670
July 14, 2017