From 767d5841cc73bd4aaf818d64513d1993e3f3e218 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 25 Jul 2025 22:25:08 +0200 Subject: [PATCH] Update ingress.gtpl --- portainer/rootfs/etc/nginx/templates/ingress.gtpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portainer/rootfs/etc/nginx/templates/ingress.gtpl b/portainer/rootfs/etc/nginx/templates/ingress.gtpl index 3a5b6dc22..1ea4de506 100644 --- a/portainer/rootfs/etc/nginx/templates/ingress.gtpl +++ b/portainer/rootfs/etc/nginx/templates/ingress.gtpl @@ -5,6 +5,8 @@ server { include /etc/nginx/includes/proxy_params.conf; client_max_body_size 0; + add_header Content-Security-Policy "frame-ancestors *"; + location / { proxy_pass {{ .protocol }}://backend/; resolver 127.0.0.11 valid=180s;