• Home
  • Solutions
    • Corporate applications
    • Knowledge engineering
    • Mobile web
    • References
  • About us
    • Philosophy
    • Life at Yaco
    • Join the team
  • Community
    • News
    • Projects
    • Contributions
  • Products
    • yaco.contents
    • yaco.commerce
    • yaco.social
    • yaco.socialcare
    • yaco.tourism
    • Modules
  • Clients Area
  • Contact us
  • Language
follow us in Facebook twitter blog
General Linux Python blog caching databases debugging django djangocon geodjango inauguracion jacobkaplanmoss misscripts opensource orm postgresql projects python security software yaco
Yaco on Facebook
border image
Join us
Join us

Life at Yaco

Contribuimos a:
morfeo django plone
  • loadbalancing
  • < go back to channels

Round-robin Django setup with nginx

Blog de Simon Willison Posted on December 21, 2009

Round-robin Django setup with nginx. An nginx trick I didn’t know: a low proxy_connect_timeout value (e.g. 2 seconds) combined with the proxy_next_upstream setting means that if one of your backends breaks a user won’t even see an error, they’ll just have a short delay before getting a response from a working server.

django loadbalancing nginx ops sysadmin
external link Read More

mod_rpaf for Apache

Blog de Simon Willison Posted on June 24, 2008

mod_rpaf for Apache. A more secure alternative to Django’s equivalent middleware: sets the REMOTE_ADDR of incoming requests from whitelisted load balancers to the X-Forwarded-For header, without any risk that if the load balancers are missing attackers could abuse it to spoof their IP addresses.

apache django http loadbalancing middleware modrpaf rpaf security xforwardedfor
external link Read More
Copyright © Yaco Sistemas S.L. All rights reserved | General Terms