Run sentry in iframe (x-frame-options)

I want to be able to open my sentry instance in an iframe as part of our dashboarding application.

Unfortunately I get a “Refused to display ‘’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.” I get that this is a sensible default, but how can I change the X-Frame-Options to ALLOW-FROM ?

I have already tried adding de header to my nginx conf, but that resulted in giving both “deny” and “allow-from”.


For nginx, you can use proxy_hide_header

That’ll prevent it from doubling up and you can override.

Ah, thanks! that was what I needed, could not find that option for nginx.