Lioman
7e0a33c492
Update vhost.j2
...
move "server {" to if block
7 years ago
Lioman
58645502b4
Update vhost.j2
...
Add missing server { to vhost template
7 years ago
Oskar Schöldström
c9a6015281
move gzip to separate block as it's pretty common to override
7 years ago
Oskar Schöldström
36cd4d3aec
Allow users to extend config files through template inheritance
7 years ago
Oskar Schöldström
3f0442fe63
Set default listen value to 80 rather than 80 default_server
7 years ago
Oskar Schöldström
f8a04dd544
Write vhost configurations to separate config files
7 years ago
Russell Clare
2fffc382a4
Adding in ability to disable server_tokens, defaulting to on (previous behaviour)
7 years ago
Étienne BERSAC (bersace)
c4605ded8f
Parametrize log_format
8 years ago
Daniel Wilhelm
f91ed1ffd4
format nginx_extra_http_options with indent
...
http section in nginx.conf is indented by default. To increase
readability format the variable nginx_extra_http_options with
the same indent for multiline string blocks. Therefore indent
needs not to be done in yaml.
8 years ago
strategist333
0d399a67a7
Fix unnatural indentation in extra_parameters block
...
Previously, one needed to extra-indent subsequent lines by 4 spaces.
This changes makes reading the configuration in yaml much more
pleasant.
8 years ago
Sia Gholami
1e14a1e0c7
Fixing vhosts.j2 indentation
8 years ago
Thiago Caiubi
86a18f8fd1
Add keepalive option to upstreams configuration
8 years ago
Jeff Geerling
4fb38405f9
Revert "prevent whitespace from jinja control structures from making it into templates"
8 years ago
Jeff Geerling
1d3ac0840d
Fixes #28 : Make server_names_hash_bucket_size configurable.
8 years ago
Bartek Rutkowski
3d71531209
Add FreeBSD support.
8 years ago
Benjamin Smith
295584baf8
update jinja templates to not leave whitespace from jinja control structures
8 years ago
Benjamin Smith
102949fcb8
make the "server_name" directive optional
8 years ago
Levent YALCIN
5f6b023f68
multi_accept option added
8 years ago
techraf
c4816d0c08
Restore nginx's default search pattern for sites-enabled
8 years ago
Colin Hoglund
aebf9c6c63
changing Debian pidfile
8 years ago
Marcin Wolny
790badecb3
Define nginx's global options and package name.
8 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
3de8c915a0
Add error_log
9 years ago
Oliver Davies
19ddc34cbb
Only add root if it's defined
9 years ago
cmacrae
cd5e355707
Cleaner indentation for 'nginx_extra_options'
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
Chris Fritz
c5672bf89b
Remove unnecessary semicolon from vhosts config
...
Remove semicolon after `{{ vhost.extra_parameters }}` to allow support for blocks like `location ~ \.php$ { ... }`.
9 years ago
Igor Loskutov
d209cbe89a
restore compartability with geerlingguy-kibana
9 years ago
Jeff Geerling
0ae5084e53
PR #14 : Change use of nginx_conf_path and nginx_vhost_path to match naming convention.
9 years ago
Mark Wilde
3e8df12f7a
Updated nginx_vhost_path to move /*
9 years ago
Mark Wilde
c02bf089a4
Added additional nginx_conf_path for Debian
...
For Debian systems both conf.d and sites-enabled should be included by default. Redhat systems have not been changed.
Issues came up using Kibana on Ubuntu as it installs kibana.conf in the conf.d folder.
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.
9 years ago
Jeff Geerling
90b6ddd1b3
Fixes #11 : Add default/simple virtualhost configuration.
9 years ago
Jeff Geerling
7360d9cb0b
Major vhosts cleanup in preparation for issue #11 .
9 years ago
Jeff Geerling
7e6a17cc4d
Issue #9 : Add nginx repo template.
9 years ago
Jeff Geerling
45b749af83
Issue #5 : Add 'nginx_proxy_cache_path' configuration option.
10 years ago
Jeff Geerling
222479109f
Update Nginx role to be more customizable.
10 years ago