This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
Releases: jdauphant/ansible-role-nginx
Releases · jdauphant/ansible-role-nginx
v2.11.1
v2.11
v2.10: Removed keepalive_timeout and types_hash_max_size (#185)
keepalive_timeout and types_hash_max_size are performance related settings and it should be left to the admin to decide what their values should be if they are not happy with nginx's built-in defaults. Defining these in `vars/main.yml` causes more pain because it makes it hard to override (the only way is by passing in a new version of `nginx_http_default_params` as a role var or on the command line, which is a strange place to do it given these are supposed to be generic defaults), Example: I prefer `keepalive_timeout 30 30` for all of my hosts but currently have to define this in every `nginx_sites` entry because I can't set it once via an include using `nginx_configs` (nginx will complain of a duplicate setting and refuse to start).
v2.9.1: Fix CVE-2016-1247 vol2 (#184)
* according to CVE-2016-1247 www-data shouldnot own nginx log dir * root should own everything inside /etc/nginx/
v2.9: make default site template configurable (#179)
* make default site template configurable closes #178 * rename variable nginx_default_template and move it to defaults
v2.8.1
v2.8
v2.7.7: Add stream config when one of the vars is defined (#169)
Before, nginx_mainline_repo was used to identify a modern enough nginx. Unfortunately, distros are catching up (e.g. Debian Stretch) and support the streams module. If nginx_stream_params or nginx_stream_configs are not empty, a `stream` block is included in `nginx.conf`. Closes #160
v2.7.6: Load config from nginx_confdir/modules-enabled (#168)
In Debian Stretch (and backported versions of nginx to Jessie), nginx modules are installed as separate packages and their `load` directives are moved to `/etc/nginx/modules-enabled/*.conf`. Closes #166