Last active 16 hours ago

Revision 8ab253b10f8d90750fa34c9679951ab91ec5d2cf

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