This repository was archived by the owner on Jul 14, 2026. It is now read-only.
Repository navigation
Add security headers to private hexdocs - #77
Merged
Merged
Conversation
ericmj
force-pushed
the
ericmj/security-headers
branch
from
March 29, 2026 16:10
3c8f281 to
e1c944a
Compare
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
force-pushed
the
ericmj/security-headers
branch
from
March 29, 2026 16:35
e1c944a to
3cb8c96
Compare
The printf format string used single quotes which prevented shell
variable expansion of ${PROJECT_ID} and ${IMAGE_NAME}.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set x-content-type-options, x-frame-options, and referrer-policy headers matching the Fastly CDN configuration for public docs.