Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ All notable changes to this project will be documented in this file.
- Switched image build pipeline to GHCR with multi-arch layer caching.
- Aligned the nginx image env-var contract: split `NGINX_FPM_SERVICE` and
`NGINX_FPM_PORT`, raised upload cap and trusted-proxy CIDR defaults.
- Allowed same-origin iframe embedding so the admin's screen/playlist
preview and fullscreen slide view work (#390).
- Image build now writes `public/release.json` so the client's
release-loader can fetch it. The same file is included in the GitHub
Release tarball.
Expand Down
5 changes: 4 additions & 1 deletion infrastructure/nginx/etc/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ server {

# Security headers
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
# frame-ancestors is the modern primary control; X-Frame-Options is
# defense-in-depth for pre-CSP-2 browsers (#390).
add_header Content-Security-Policy "frame-ancestors 'self'" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;

# Real IP from reverse proxy
Expand Down