This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"description": "A scatterplot showing images at data points based on dynamic metrics and dimensions, with text labels.", | |
"layer": [ | |
{ | |
"mark": { | |
"type": "image", | |
"width": 50, | |
"height": 50, | |
"align": "center" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ssh into server | |
ssh user@sub.domain.tld -i ~/.ssh/config | |
# go to conf | |
/etc/nginx/conf.d/sub.domain.tld.conf | |
# update CSP | |
vim sub.domain.tld.conf | |
# add this line | |
add_header Content-Security-Policy "frame-ancestors sub.domain.tld"; | |
# restart nginx | |
sudo systemctl restart nginx |