# Ready2Blob handles cloud credentials in the browser and sends them nowhere. # These headers keep it that way: no framing, no external origins, no referrer leakage. # # Included per-location as well as at server level on purpose: an `add_header` inside # a location block REPLACES every header inherited from the parent, so any location # that sets its own Cache-Control must re-include this file. add_header X-Content-Type-Options "nosniff" always; add_header X-Frame-Options "DENY" always; add_header Referrer-Policy "no-referrer" always; add_header Permissions-Policy "geolocation=(), camera=(), microphone=(), usb=()" always; # script-src keeps 'unsafe-inline' for the theme/FOUC bootstrap in index.html. # To tighten it: build once, read the emitted inline