Coder Social home page Coder Social logo

jekyll integration about secure_headers HOT 3 CLOSED

LeoWebSEO avatar LeoWebSEO commented on June 5, 2024
jekyll integration

from secure_headers.

Comments (3)

LeoWebSEO avatar LeoWebSEO commented on June 5, 2024

I have made this appendix in _config.yml:

headers:
    SecureHeaders::Configuration.default

waiting for update to see if it works.

from secure_headers.

lgarron avatar lgarron commented on June 5, 2024

Jekyll is mostly a static site generator, so I wouldn't expect it to be able to run arbitrary HTTP middleware.

From what I can tell, if you want to use "just" Jekyll, then your only option is to spell out the headers and use a WEBrick server:
https://jekyllrb.com/docs/configuration/webrick/

You could copy the default headers from https://github.com/github/secure_headers#default-values

from secure_headers.

LeoWebSEO avatar LeoWebSEO commented on June 5, 2024

Hello, thanks for the answer.

With this solution it is only functional in development mode or locally. When I upload it to the server it doesn't work.

I already cleared cache and it doesn't work.

The site in question is leopuente.me, it's in the ipfs fleek, I don't know if a different configuration is needed. I can't find documentation about it.

I'll stay tuned, thank you.

from secure_headers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.