Set hsts-include-subdomains to false in nginx ingress

Hello,

Can anyone help me to set hsts-include-subdomains to false in the config for the nginx-ingress? We are using Rancher 2.4.2.

Thanks!

Kind regards,
Peter Talen

Mmmhm, first post here, not a single answer. :cry:

Please see the docs here https://rancher.com/docs/rke/latest/en/config-options/add-ons/ingress-controllers/

Hello,

Thanks for your answer. I have added the option to the config map (see first and second part of image) of the project, however it is still not working (see third part of image, tested with ssllabs.com). I have restarted the ingress-nginx pods. What am I doing wrong?

Thanks,
Peter

Anybody who can help me out?

The logs of the NGINX ingress pods will show that it correctly reloaded after the changes. If it errors out, can you try false (without the quotes)

Ok, thanks for the reply, I will check it in the next couple of days.