From 06d890e1f01a7565e2359daf52c99a2329f015ae Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Tue, 3 Sep 2024 11:31:08 -0700 Subject: [PATCH] Support central of the metrics Signed-off-by: Prudhvi Godithi --- infrastructure/lib/stacks/opensearchNginxProxyReadonly.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/lib/stacks/opensearchNginxProxyReadonly.ts b/infrastructure/lib/stacks/opensearchNginxProxyReadonly.ts index 506a30f..3456edd 100644 --- a/infrastructure/lib/stacks/opensearchNginxProxyReadonly.ts +++ b/infrastructure/lib/stacks/opensearchNginxProxyReadonly.ts @@ -176,6 +176,7 @@ export class OpenSearchMetricsNginxReadonly extends Stack { add_header Strict-Transport-Security "max-age=47304000; includeSubDomains"; add_header X-Content-Type-Options "nosniff"; add_header X-Frame-Options "DENY"; + add_header Content-Security-Policy "frame-ancestors https://opensearch.org"; add_header Cache-Control "no-store, no-cache"; set $os_endpoint ${nginxProps.opensearchDashboardUrlProps.opensearchDashboardVpcUrl};