Visitar URL original
Add some security (meta) headers · Issue #162 · NLog/NLog.github.io · GitHub
Skip to content

Add some security (meta) headers #162

Open

Description

@304NotModified

Although it seems to not be possible in Github pages it would be nice if we could add some (meta) headers.

See report of nlog-project.org

image

vs Github.com

image

Activity

  1. 304NotModified commented on Mar 31, 2021

    @304NotModified
    MemberAuthor
  2. 304NotModified commented on Mar 31, 2021

    @304NotModified
    MemberAuthor

    Not sure if headers are possible then: https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/

    There are some things we can’t do; GitHub Pages doesn’t let us set custom headers, which unfortunately means we can’t do HTTP/2 Server Push right now.

    (Ok old post, but dunno why a proxy can't add additional headers)

  3. MichelZ commented on May 20, 2022

    @MichelZ
    Contributor

    It actually can. I just tested it with GH pages and added the headers X-Frame-Options / X-Content-Type-Options...

    image
    image

  4. 304NotModified commented on May 20, 2022

    @304NotModified
    MemberAuthor

    It actually can. I just tested it with GH pages and added the headers X-Frame-Options / X-Content-Type-Options..

    Where do you add those headers? In Github itself?

  5. MichelZ commented on May 20, 2022

    @MichelZ
    Contributor

    Where do you add those headers? In Github itself?

    Sorry, I should have been more clear. I meant cloudflare is able to set headers when proxying GH pages (e.g. your article from above is wrong - you CAN set headers in cloudflare)

  6. 304NotModified commented on May 20, 2022

    @304NotModified
    MemberAuthor

    Ah thx. Im not sure if those headers have that much value to move to cloudflare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions