Jeff Geerling
b7c51b2bfb
Fixes #118 : Add default 2m flush to access_log.
7 years ago
Ben McClure
08fbab26bd
Added nginx support
7 years ago
Oskar Schöldström
7b47c3de12
vhost_filename -> filename
7 years ago
Oskar Schöldström
d227a1803c
server_name_redirect is only added if defined
7 years ago
Oskar Schöldström
98b736f479
Add optional vhost_filename option to nginx_vhosts
7 years ago
Oskar Schöldström
235a0053a7
Document missing nginx_vhost parameters
7 years ago
Ryan MacDonald
c73ebab99b
comment out as optional use_method
...
comment out as optional use_method
7 years ago
Ryan MacDonald
e4d536edb7
set default use_method epoll
7 years ago
Ryan MacDonald
b9c16bf4fb
[Change] defaults/main.yml modified to reflect new variables
7 years ago
Oskar Schöldström
5e41c6b1f9
Issue #95 : Add support for setting template on a per vhost basis
7 years ago
Oskar Schöldström
36cd4d3aec
Allow users to extend config files through template inheritance
7 years ago
Oskar Schöldström
f319f9d195
Update docs
7 years ago
Jeff Geerling
3d8591fa17
PR #77 follow-up: Document nginx_log_format variable.
8 years ago
Russell Clare
2fffc382a4
Adding in ability to disable server_tokens, defaulting to on (previous behaviour)
8 years ago
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.
8 years ago
Étienne BERSAC (bersace)
c4605ded8f
Parametrize log_format
8 years ago
Jeff Geerling
3f11a46b50
Better default for nginx_worker_processes.
8 years ago
Thiago Caiubi
86a18f8fd1
Add keepalive option to upstreams configuration
8 years ago
Jeff Geerling
b7c27f41f7
PR #62 : Document new variable.
8 years ago
Pedro Nofuentes
e03f85d4c3
Added vhosts filename variable to allow set it up
8 years ago
Jeff Geerling
1d3ac0840d
Fixes #28 : Make server_names_hash_bucket_size configurable.
8 years ago
Jeff Geerling
e818255465
PR #45 : Clean up var names and document new feature.
8 years ago
Levent YALCIN
5f6b023f68
multi_accept option added
8 years ago
Jeff Geerling
cf69810612
PR #46 follow-up.
8 years ago
Marcin Wolny
790badecb3
Define nginx's global options and package name.
9 years ago
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
9 years ago
Jeff Geerling
357ab200f7
PR #36 follow-up: rename var to nginx_extra_http_options.
9 years ago
Jeff Geerling
9848800982
PR #36 follow-up: clean up and reformat docs.
9 years ago
Oliver Davies
74fe80b1cb
Document error_log
9 years ago
cmacrae
3fc2135bc4
Adding example 'nginx_extra_options' comment to defaults/main.yml
9 years ago
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.
9 years ago
Jeff Geerling
a08f8cda11
Fixes #20 : Add example of a complete nginx_vhosts entry with extra_parameters.
9 years ago
Eriksen Costa
c9ab6ef7e7
Fix nginx_vhosts comment
...
The key used in the vhosts.j2 template is extra_parameters.
9 years ago
Jeff Geerling
d1828e9c39
Fixes #13 : Allow configuration of default_release parameter for apt installation.
9 years ago
Jeff Geerling
07868edf2e
Added extra useful Nginx variables.
9 years ago
Jeff Geerling
7d8a1ace36
Fixes #12 : Allow for load balancing configurations by adding upstream config.
10 years ago
Jeff Geerling
90b6ddd1b3
Fixes #11 : Add default/simple virtualhost configuration.
10 years ago
Jeff Geerling
7360d9cb0b
Major vhosts cleanup in preparation for issue #11 .
10 years ago
Jeff Geerling
c6e3321a66
Spacing in default vars file.
10 years ago
Jeff Geerling
6f04a8f2ed
Update default worker_connections to 1024, since that plays nice with default OS configs.
10 years ago
Jeff Geerling
fdc9a7da78
Issue #6 and PR #8 : Make nginx user more flexible.
10 years ago
Jeff Geerling
45b749af83
Issue #5 : Add 'nginx_proxy_cache_path' configuration option.
10 years ago
Mirko Friedenhagen
5f95627706
Move vars to defaults as otherwise they may not be overridden.
10 years ago
Jeff Geerling
736a95a012
Add option to remove default nginx vhost config.
10 years ago