Nginx 1.1.8 introduced new format for its limit_conn/mod_evasive equivalent feature configuration directive, which is incompatible with all older Nginx versions. We should check for Nginx version installed (as we did in the past) to dynamically use compatible configuration, since Nginx 1.2.0 is current stable and will be included (at some point) in all supported Debian/Ubuntu LTS flavors, while 1.1.19 is already included in Precise and Squeeze backports.

Comments

omega8cc’s picture

Assigned: omega8cc » Unassigned
Status: Active » Fixed
omega8cc’s picture

Not that it doesn't really work on upgrade, unless you are using also this patch: http://drupal.org/node/1552430#comment-5932686

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 6623aeb on dev-drupal-8, dev-nginx-6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by omega8cc:
    Issue #1552228 by omega8cc - Nginx configuration for limit_conn should...