Commit Graph

32 Commits

Author SHA1 Message Date
Jesse Morgan
6f2b69b9b5 adding yum repo flag for Redhat
In environments where RHEL uses Satellite or production servers can't
reach out to the internet, and the Yum repo is not wanted. This commit
adds a flag to disable the functionality. It also removes the
enablerepo: nginx line from the package since a) it's redundant and b)
working around it overly complicates  the situation.
2017-01-25 11:49:27 -05:00
Jeff Geerling
3f11a46b50 Better default for nginx_worker_processes. 2016-09-14 14:53:46 -05:00
Jeff Geerling
a767f2741c Merge pull request #65 from chaordic/upstreams-keepalive
Add keepalive option to upstreams configuration
2016-09-12 16:49:27 -05:00
Thiago Caiubi
86a18f8fd1 Add keepalive option to upstreams configuration 2016-08-08 11:53:45 -03:00
Jeff Geerling
b7c27f41f7 PR #62: Document new variable. 2016-07-01 16:25:30 -05:00
Pedro Nofuentes
e03f85d4c3 Added vhosts filename variable to allow set it up 2016-06-28 11:35:43 +02:00
Jeff Geerling
1d3ac0840d Fixes #28: Make server_names_hash_bucket_size configurable. 2016-05-06 11:13:17 -05:00
Jeff Geerling
e818255465 PR #45: Clean up var names and document new feature. 2016-03-25 22:15:25 -05:00
Jeff Geerling
3af0b284c1 Merge pull request #45 from 3wille/fw-ubuntu-ppa
add official nginx ppa for ubuntu
2016-03-25 22:06:09 -05:00
Levent YALCIN
5f6b023f68 multi_accept option added 2016-03-17 14:46:59 +00:00
Jeff Geerling
cf69810612 PR #46 follow-up. 2016-02-29 14:58:02 -06:00
Marcin Wolny
790badecb3 Define nginx's global options and package name. 2016-02-11 19:03:30 +01:00
Frederik Wille
3063875875 add official nginx ppa for ubuntu
adds ppa:nginx to apt repositories when
nginx_use_ppa is set to yes (default no)

nginx_ppa_version can be either "stable" or "development"

this will reinstall nginx if ppa was just added to ensure that the ppa
version will be installed
2016-02-09 10:06:08 +01:00
Jeff Geerling
357ab200f7 PR #36 follow-up: rename var to nginx_extra_http_options. 2015-12-28 10:01:42 -06:00
Jeff Geerling
9848800982 PR #36 follow-up: clean up and reformat docs. 2015-12-28 09:57:11 -06:00
Jeff Geerling
a8620b9b32 Merge pull request #36 from cmacrae/master
Collective config validation & "extra options"
2015-12-28 09:53:44 -06:00
Oliver Davies
74fe80b1cb Document error_log 2015-12-28 13:10:15 +00:00
cmacrae
3fc2135bc4 Adding example 'nginx_extra_options' comment to defaults/main.yml 2015-12-22 16:11:35 +00:00
cmacrae
c5a21436b4 Adding the ability to define extra options:
Defining a new variable (defaults to empty) that allows users to define
extra configuration options in the top-level 'http' block.
This allows for (optionally) finer grain control.
2015-12-22 16:05:46 +00:00
Jeff Geerling
a08f8cda11 Fixes #20: Add example of a complete nginx_vhosts entry with extra_parameters. 2015-09-03 16:24:58 -05:00
Eriksen Costa
c9ab6ef7e7 Fix nginx_vhosts comment
The key used in the vhosts.j2 template is extra_parameters.
2015-05-12 17:18:50 -03:00
Jeff Geerling
d1828e9c39 Fixes #13: Allow configuration of default_release parameter for apt installation. 2015-02-25 07:59:24 -06:00
Jeff Geerling
07868edf2e Added extra useful Nginx variables. 2015-02-24 21:10:22 -06:00
Jeff Geerling
7d8a1ace36 Fixes #12: Allow for load balancing configurations by adding upstream config. 2015-02-21 00:42:51 -06:00
Jeff Geerling
90b6ddd1b3 Fixes #11: Add default/simple virtualhost configuration. 2015-02-21 00:02:51 -06:00
Jeff Geerling
7360d9cb0b Major vhosts cleanup in preparation for issue #11. 2015-02-20 23:34:31 -06:00
Jeff Geerling
c6e3321a66 Spacing in default vars file. 2015-02-20 23:17:35 -06:00
Jeff Geerling
6f04a8f2ed Update default worker_connections to 1024, since that plays nice with default OS configs. 2015-02-20 23:17:13 -06:00
Jeff Geerling
fdc9a7da78 Issue #6 and PR #8: Make nginx user more flexible. 2015-01-02 11:47:26 -06:00
Jeff Geerling
45b749af83 Issue #5: Add 'nginx_proxy_cache_path' configuration option. 2014-12-08 22:07:57 -06:00
Mirko Friedenhagen
5f95627706 Move vars to defaults as otherwise they may not be overridden. 2014-12-03 21:11:18 +01:00
Jeff Geerling
736a95a012 Add option to remove default nginx vhost config. 2014-08-21 15:41:31 -05:00