Last active 13 hours ago

docker-penpot-cors-iframe Raw
1# Docker PENPOT_FRONTEND_FLAGS
2# https://github.com/penpot/penpot/discussions/1085
3enable-cors
4
5# NGINX
6# Remove any existing:
7# add_header X-Frame-Options SAMEORIGIN;
8
9# If the upstream app sends X-Frame-Options:
10proxy_hide_header X-Frame-Options;
11add_header Content-Security-Policy "frame-ancestors 'self' https://your-parent-domain.com" always;