Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-forge/blob/main/infra/nginx/snippets/forge-headers.conf # interplane-forge INTERPLANE Forge Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-forge / infra / nginx / snippets / forge-headers.conf` 13 lines ยท 986 bytes Raw Blame History 1 # /etc/nginx/snippets/forge-headers.conf on hub - response headers for every forged response. 2 # A location that has any add_header loses the server's add_header list, so forge locations 3 # include this whole set. No JavaScript anywhere (script-src 'none'); forms post to the same 4 # origin only (form-action 'self'). forged's own CSP passes through (raw files keep their sandbox 5 # policy); the edge adds its policy only when forged's does not already keep those rules 6 # ($forge_csp_edge in conf.d/forge.conf; an empty value adds no header). 7 # Referrer-Policy same-origin (not no-referrer): with no-referrer a browser sends 8 # "Origin: null" on a same-origin form POST, which would blind forged's Origin check. 9 add_header Content-Security-Policy $forge_csp_edge always; 10 add_header Strict-Transport-Security "max-age=`31536000`; includeSubDomains" always; 11 add_header X-Content-Type-Options nosniff always; 12 add_header X-Frame-Options DENY always; 13 add_header Referrer-Policy same-origin always;