Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Add security headers to private hexdocs - #77

Merged
ericmj merged 3 commits into
mainfrom
ericmj/security-headers
Mar 29, 2026
Merged

ericmj merged 3 commits into
mainfrom
ericmj/security-headers

Conversation

@ericmj

@ericmj ericmj commented Mar 29, 2026

Copy link
Copy Markdown
Member

Set x-content-type-options, x-frame-options, and referrer-policy headers matching the Fastly CDN configuration for public docs.

@ericmj
ericmj force-pushed the ericmj/security-headers branch from 3c8f281 to e1c944a Compare March 29, 2026 16:10
ericmj added 2 commits March 29, 2026 18:35
Set x-content-type-options, x-frame-options, and referrer-policy
headers matching the Fastly CDN configuration for public docs.
Uses SAMEORIGIN for x-frame-options to support EDoc-based docs
that use HTML frames.
Increase assert_receive timeout to 5s for the process :DOWN message.
When a task crashes, Task.Supervised does error reporting through
Logger before the process terminates, which under CI load can exceed
the default 100ms timeout.
@ericmj
ericmj force-pushed the ericmj/security-headers branch from e1c944a to 3cb8c96 Compare March 29, 2026 16:35
The printf format string used single quotes which prevented shell
variable expansion of ${PROJECT_ID} and ${IMAGE_NAME}.
@ericmj
ericmj merged commit cc80feb into main Mar 29, 2026
12 checks passed
@ericmj
ericmj deleted the ericmj/security-headers branch March 29, 2026 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant