I would do that first since it’s easiest. Once you figure it out, the next easiest thing is to copy that file somewhere else so that you don’t have issues with git conflicting with it. The best solution would be to combine your current strategy with another line to remove the other conflicting setting.
pfaffman
(Jay Pfaffman)
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Help adding includeSubDomains to the Strict-Transport-Security header | 5 | 167 | October 22, 2025 | |
| Set Strict-Transport-Security header | 3 | 619 | October 10, 2022 | |
| Add a custom HTTP header to requests made to your Discourse | 5 | 4784 | September 12, 2016 | |
| HSTS header not set with www and non www setup | 2 | 763 | October 6, 2022 | |
| Let’s Encrypt problem after upgrading to 1.9.0.beta3 | 14 | 1714 | July 14, 2017 |