Closed
Description
Discussed in #2826
Originally posted by praveensounder July 7, 2022
Currently we are using Nginx ingress controller 2.1.1 - https://github.com/nginxinc/kubernetes-ingress/tree/v2.1.1
We need to add Content security policy to the config file.
We passed using addheaders but its not getting reflected.
Kindly please let us know How to add content security policy in helm charts values.yaml file
We need to add configuration Inside nginx server {} block like below:
add_header Content-Security-Policy "default-src 'self';";
Metadata
Metadata
Assignees
Labels
No labels