summaryrefslogtreecommitdiff
path: root/nginx
AgeCommit message (Collapse)Author
2022-08-25redirect legacy counterclaim document to historyDaniel Micay
The purpose of this document was to respond to false claims from James Donaldson about myself and GrapheneOS. He changed his story about what happened many times since this was posted. He didn't move forward with his attempt at taking us to court and this was never used beyond being posted on our site as a public response. Nearly all of his supporters realized he was misleading them and left for greener pastures. Most of them are now using GrapheneOS. We don't need to refute outdated attacks on GrapheneOS from a person that's now almost completely irrelevant, especially since he's now trying not to draw attention to this since he came out looking so terrible. He quietly misleads people about what happened with his latest historical revisions and those are countered better by our newer pages summarizing it.
2022-08-25Add "Origin-Agent-Cluster" headerRohan Kumar
Hint to browsers that we prefer per-origin process isolation. This disables certain unsafe features regarding cross-origin same-site resource sharing. https://web.dev/origin-agent-cluster/#limitations Specification link: https://html.spec.whatwg.org/multipage/origin.html#origin-keyed-agent-clusters This is just a hint to browsers. Depending on resource availability, they may or may not actually allocate a process. For this reason, it's not a robust security feature although it is preferable. This header needs to be active on all pages from an origin for it to work.
2022-08-25move nginx status API to socketDaniel Micay
2022-06-27configuration style fixesDaniel Micay
2022-06-26use standard GrapheneOS mime.typesDaniel Micay
2022-06-10raise expected nginx versionDaniel Micay
2022-05-12RFC 9239 obsoletes application/javascriptDaniel Micay
2022-05-03enable thread pool AIO supportDaniel Micay
2022-05-03drop configuration for clearing legacy push cookieDaniel Micay
2022-05-02add resolver setup to baseline configurationDaniel Micay
2022-04-30disable traditional stateful TLS session cacheDaniel Micay
This is useless for TLSv1.3 since there's no longer any distinction in the protocol based on whether the server is using stateless or stateful session resumption. OpenSSL has a non-standard anti-replay mechanism for 0-RTT based on stateful session resumption but 0-RTT still ends up being a downgrade for the TLS security properties. nginx disables that feature since otherwise 0-RTT wouldn't work with the default stateless approach. Since this cache is only used for TLSv1.2 when stateless resumption isn't disabled and nearly all TLSv1.2 clients support tickets, it isn't getting any significant use. It provides worse forward secrecy than tickets because we implement ticket key rotation based on the expiry time and sessions aren't actively purged from the stateful cache when they expire. Cached session state varies in size and nginx ends up writing errors to the log when clearing out a session fails to make room for a new one due to it being larger. It's best to finally get rid of this flawed approach to session resumption. TLSv1.3 provides the option of forward secrecy for resumed sessions and it's the only approach that's normally enabled so we don't need to worry about this anymore once TLSv1.2 is disabled as long as we never enable 0-RTT which weakens forward secrecy and other security properties.
2022-04-18add gamepad and speaker-selection to permissions policyJune
Signed-off-by: June <zanthed@riseup.net>
2022-04-17use IPv6 only for internal nginx status serviceDaniel Micay
2022-03-06add transparent Zcash donation addressDaniel Micay
2022-02-19extend redirect.js preload / push to /install/Daniel Micay
2022-02-19set up preload and push for redirect.jsDaniel Micay
2022-02-19simplify configurationDaniel Micay
2022-02-01avoid redirect for double slash in parametersDaniel Micay
2022-01-27add grapheneos.dev domainDaniel Micay
2022-01-13workaround for odd CSP semantics in Chromium 97Daniel Micay
2022-01-03improve approach to redundant slash redirectionDaniel Micay
Since merge_slashes gets rid of the redundant slashes, a no-op rewrite will get rid of all of them at once instead of requiring one redirect to get rid of each redundant slash.
2021-12-11rename push cookie for clarityDaniel Micay
2021-12-11add preload/push for main page phone imageDaniel Micay
2021-12-10set charset in Content-Type header for CSS tooDaniel Micay
2021-12-10disable legacy X-XSS-Protection featureDaniel Micay
2021-12-05use http2_push instead of http2_push_preloadDaniel Micay
This avoids needing to conditionally add nopush to each preloaded resource in the Link header. There's also no support for pushing JavaScript modules via http2_push_preload since nginx doesn't have support for rel=modulepreload.
2021-12-04no need for case insensitive match for cookie nameDaniel Micay
2021-12-04avoid sending unnecessary push cookieDaniel Micay
2021-11-27simplify /mask-icon.svg redirectDaniel Micay
This no longer needs to use a regular expression as a workaround now that file path replacement uses template syntax.
2021-11-26use preload header with nopush for repeat visitorsDaniel Micay
2021-11-26add integrity metadata to preload headerDaniel Micay
2021-11-24disable idle-detection in Permissions-PolicyDaniel Micay
2021-11-23update font version for preload/pushDaniel Micay
2021-11-18set up SRI for future use by CSP v3Daniel Micay
2021-11-11Nginx regex: don't capture groups unnecessarilyRohan Kumar
Good regex form: use "?:" to specify non-capturing groups when sections don't actually reference matched groups. There's no use saving a capture in these situations.
2021-09-07nginx: use syslog for error_logDaniel Micay
2021-08-30add another FAQ redirectDaniel Micay
2021-08-22add redirect for broken backlinks with commaDaniel Micay
2021-08-10add SVG Tiny Portable/Secure icon for BIMIDaniel Micay
https://bimigroup.org/ https://datatracker.ietf.org/doc/html/draft-svg-tiny-ps-abrotman-00
2021-07-30rename primary to 0 and replica1 to 1Daniel Micay
2021-07-30add support for ACME with replicasDaniel Micay
2021-07-28add nginx modules symlinkDaniel Micay
2021-06-26nginx: use build defaults for user/pid settingsDaniel Micay
This varies based on the OS and packaging. It's best to make the assumption that it's a reasonable nginx package rather than reducing portability.
2021-06-22cleaner nginx status monitoring configurationDaniel Micay
2021-06-21add back legacy redirectDaniel Micay
2021-06-21set security headers for Matrix client metadataDaniel Micay
2021-06-13fix redirects for broken twipu linksDaniel Micay
2021-06-11fix object replacement character redirectDaniel Micay
2021-06-08mark Expect-CT as largely obsoleteDaniel Micay
2021-06-07convert if back into location blockDaniel Micay