From b7c51b2bfb693307401eb4d4a8e45dfc74cd5053 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 8 Aug 2017 12:06:19 -0500 Subject: [PATCH 1/2] Fixes #118: Add default 2m flush to access_log. --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 38aa3da..73100c5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -20,7 +20,7 @@ nginx_worker_connections: "1024" nginx_multi_accept: "off" nginx_error_log: "/var/log/nginx/error.log warn" -nginx_access_log: "/var/log/nginx/access.log main buffer=16k" +nginx_access_log: "/var/log/nginx/access.log main buffer=16k flush=2m" nginx_sendfile: "on" nginx_tcp_nopush: "on" From af451883911c5265e222be8acea1f72ced1f923b Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 8 Aug 2017 13:00:05 -0500 Subject: [PATCH 2/2] Issue #118: Remove Ubuntu 12.04 support, test in Debian. --- .travis.yml | 3 ++- meta/main.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 352227a..ce37ae9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,8 @@ env: - distro: centos7 - distro: ubuntu1604 - distro: ubuntu1404 - - distro: ubuntu1204 + - distro: debian9 + - distro: debian8 script: # Configure test script so we can run extra tests after playbook is run. diff --git a/meta/main.yml b/meta/main.yml index 9418877..cb62045 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -17,7 +17,8 @@ galaxy_info: - all - name: Ubuntu versions: - - all + - trusty + - xenial - name: Archlinux versions: - all