Giter Site home page Giter Site logo

Comments (3)

tyler-8 avatar tyler-8 commented on June 3, 2024

This role already supports custom uwsgi config parameters via netbox_uwsgi_options so I don't know that any changes would be required. But at least this issue is here for documenting a possible work around for those that might experience these errors.

from ansible-role-netbox.

tyler-8 avatar tyler-8 commented on June 3, 2024

Adding...

These settings also depend on how the user has chosen to deploy NetBox. Native HTTP, sockets, what kind of webserver is used (nginx, haproxy, apache) among other options I'm sure. Given that the existing netbox_uwsgi_options parameter exists, and the possible variance of the environment that NetBox is deployed in, I'm not sure it makes sense to try and expand any further.

from ansible-role-netbox.

marcquark avatar marcquark commented on June 3, 2024

I agree. Had missed the netbox_protocol setting previously, that makes the amount of possibilities vast. Since not every environment seems to be affected anyway, changing defaults is probably not the way to go.

Here are my working netbox_uwsgi_options for brevity (and because i can't get the doc to format as i'd like to, so i'll just reference the issue instead)

netbox_uwsgi_options:
  http-keepalive: "true"
  http-auto-chunked: "true"
  add-header: "Connection: Close"

from ansible-role-netbox.

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.