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;