Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin'

I have upgraded my matomo php to 8.1. I have using embed widgets for some time now and after and the upgrade I have noticed I’m getting sameorigin error, refused to connect. none of my settings have changed

Maybe the upgrade of PHP updated silently some configuration…
Did you have a look at (especially the last answer):


Header set X-Frame-Options: "ALLOW-FROM 

is no longer an option

I was able to find where the SAMORIGIN was set.

Where was it hidden?