Commit Graph

99 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
9b9b3e8dd3
Refactor modules (#315) 2020-09-08 00:44:54 +02:00
Alessandro Fael Garcia
bf2916fc55
Update Ansible to 2.9.12 and explicitly set mode on relevant tasks (#309)
*   Explicitly define `mode` in relevant tasks.
*   Explicitly define the `nginx` `apt_repository` filename in Debian based distros.
*   Building OpenSSL from source should now work properly in CentOS 8.
2020-08-28 10:30:23 +02:00
Alessandro Fael Garcia
79ddc30a3a
Update docs (#307) 2020-08-20 12:54:09 +02:00
Alessandro Fael Garcia
3bcd7a0919
Prepare 0.15.0 release (#300) 2020-08-19 18:39:17 +02:00
Alessandro Fael Garcia
fc4640bd4a
Improve formatting (#293) 2020-07-30 12:47:08 +02:00
Alessandro Fael Garcia
730ab15ecb
Replace Molecule's Python verifier with the Ansible verifier (#285) 2020-07-20 13:37:36 +02:00
Tom Gamull
7e6a7f0397
Triple S!!! Speed, Systemd and Selinux (#272) 2020-06-30 18:59:53 +02:00
Alessandro Fael Garcia
55c2f534ef
Add support for Ubuntu Focal (#258) 2020-06-08 15:46:01 +02:00
Alessandro Fael Garcia
19fcdf0158
Update docs (#257) 2020-06-04 13:05:38 +02:00
Seena Fallah
3db516413e
Add custom logrotate config (#251) 2020-05-19 22:51:08 +02:00
Tom Gamull
2289b6a070
Buildfromsource (#233)
* Add build from source option

* Update to Molecule 3.0

* Add service manager to Debian images

* Add .gitignore entry for Ansible retry files

Co-authored-by: Alessandro Fael Garcia <alessfg@hotmail.com>
2020-03-25 18:43:32 +01:00
Alessandro Fael Garcia
d0548a7b0b
Remove NGINX Controller agent tasks (#228)
There's now a separate collection of NGINX Controller roles that can be found at https://github.com/nginxinc/ansible-collection-nginx_controller making the task in this role obsolete
2020-02-28 16:11:29 +01:00
Alessandro Fael Garcia
1afb425c19
Update copyright year (#221) 2020-01-29 19:37:09 +01:00
Seena Fallah
0b176f847a Make ssl optional for listeners (#215) 2020-01-09 16:40:36 +01:00
Alessandro Fael Garcia
b5baf3a2ae
Improve documentation (#206)
* Create CONTRIBUTING.md
* Add PR template
* Tweak .yamllint
* Update README playbook examples
2019-12-13 12:11:30 -08:00
Alessandro Fael Garcia
f54b7d2f90
Add new method to install the NGINX Controller agent (#205) 2019-12-11 18:25:20 -08:00
Vladimir Botka
c2c0bb990a Split defaults/main.yml to more files in directory defaults/main (#200) 2019-12-06 13:37:16 -08:00
Vladimir Botka
cc4311dd05 Configure min_ansible_version (#201) 2019-11-29 03:32:17 +00:00
Seena Fallah
ce58eeabbd Add tcp_nopush and tcp_nodelay vars (#197) 2019-11-26 14:14:46 +01:00
Seena Fallah
1771878e9e Add multiple servers for reverse proxy template (#194)
* Change custom options to better reflect multiple server support
2019-11-26 00:46:03 +01:00
Pritpal Sabharwal
cb014cdab4 Added proxy_cache_valid support (#192) 2019-11-25 22:51:54 +01:00
Alessandro Fael Garcia
78c21d4346
Add variable to set location of NGINX status conf file (#184) 2019-11-18 17:14:00 +01:00
scodeman
7785babce1 Add support for multiple rewrite directives as per nginx conf (#176) 2019-11-04 23:41:25 +01:00
Alexander Maslov
cca5dbb37d Add server_tokens (#173) (#175) 2019-10-25 11:16:03 +02:00
Yuan-Yi Chang
a236c73af8 Add custom_options (#167) 2019-10-20 17:52:56 +02:00
Alessandro Fael Garcia
1d0cb1083f
Update README (#171)
And remove old tests leftover file
2019-10-13 23:26:47 +04:00
Alessandro Fael Garcia
c6c133674e
Add templating options to logs (#169)
Resolves #152
2019-10-02 19:29:59 +02:00
Benoit de Chezelles
3b0e39f870 Add setting worker_rlimit_nofile (#164)
* Add setting worker_rlimit_nofile
2019-08-23 16:00:20 +02:00
Alessandro Fael Garcia
a92d424bdb
Add support for Debian Buster (#163)
Closes #151
2019-08-07 22:16:27 +02:00
Carl Bäckström
b2fc8b5621 Added option to set allows and denies for locations (#133) 2019-08-05 20:20:12 +02:00
Philip Henning
ea1a3626db Add IPv6 listener support; Make listen options configurable (#147)
* Add IPv6 listener support; Make options (besides 'ssl' and 'ipv6only=on' for IPv6 listeners) configurable.

* Combine listen directives for ssl and non ssl listeners and add the ssl option automatically when it is needed.

* Add comment from README also to defaults/main.yml

* Add support for multiple listen directives
2019-07-29 19:39:58 +02:00
Stanislav Mekhonoshin
5416fb28e0 Add ability to rewrite proxy pass locations (#161) 2019-07-26 23:21:34 +02:00
Philip Henning
a8b7fff7fc Return (#148)
* Add possibity to just have a location with a return in it.
2019-07-17 13:10:09 +01:00
Zeno Grandi
42f776f7d8 Support for 'include' directive in http templating (#160)
* Added 'include' directive in http templating

* Added 'include' directive in stream templating
2019-07-17 13:32:47 +02:00
Zeno Grandi
1724fecdd8 Support 'client_max_body_size' (server, location) (#157)
* Support 'client_max_body_size' (server, location)

* Added 'client_max_body_size' to default/main.yml
2019-07-15 20:42:15 +02:00
Philip Henning
421882389d Proxy cookie path (#150)
* Add proxy_cookie_path directive to rewrite the cookie path

* delete unnecessary spacing
2019-07-15 18:58:35 +02:00
Philip Henning
a8dfb5b7df Add proxy_hide-header directive (#144)
* Add proxy_hide-header directive

* Add proxy_hide_headers to tests

* Add comment's also to defaults/main.yml
2019-07-15 14:49:10 +02:00
Philip Henning
f5f3a65fd8 Add proxy_buffering directive to reverse proxy block (#149) 2019-07-15 14:41:19 +02:00
Philip Henning
2d803f207c Add ssl_session_tickets directive. (#145) 2019-07-15 14:41:04 +02:00
Philip Henning
37641fcdf1 Add auth_request_set directive (#154) 2019-07-12 20:14:46 +02:00
Philip Henning
43fdafe1b1 Add websockets configuration back to http template (#140)
* Add websockets config back to template

* Implement #111 Changes for proxy_http_version and made it configurable.

* Moved out of the websockets block and make it independently configurable
2019-07-12 19:59:25 +02:00
Philip Henning
c730f522f1 Add directive ssl_prefer_server_ciphers (#143) 2019-07-12 19:56:11 +02:00
Philip Henning
e3902b6cb2 Add directives to use OCSP Stapling (#142) 2019-07-12 19:55:37 +02:00
Philip Henning
155c13c140 Add add_header support for either server and location block (#141)
* Add `add_header` support for either `server` and `location` block

* Add Tests for adding headers to either server and location block
2019-06-14 11:33:50 +01:00
Alessandro Fael Garcia
feda384b94 Improve role handling (#128)
* Improve role handling

* Add defaults to some tasks

* Improve template conditionals
2019-05-21 16:23:06 +01:00
Alessandro Fael Garcia
f3ec78e7ae Add support to the role for RHEL 8 and Alpine Linux (#129)
* Add support to the role for RHEL 8 and Alpine Linux

* Add NGINX Open Source support for Alpine Linux

* Add NGINX Open Source support for SLES 15

* Update supported platforms matrix
2019-05-20 17:32:08 +01:00
Sathish Ramani
df98f1a244 Allow auth basic to be added to global (server) (#125)
* Add auth basic for global level

* Change auth_basic_file to auth_basic_user_file
2019-05-20 14:48:24 +01:00
Tom Gamull
783d29639c Http auth req additions - issue 120 (#121)
* added http_auth_req

* removed existing set-headers

* is defined for proxy_pass_request_body
2019-04-18 10:51:44 +01:00
Chris James
4b06d33360 Reference the correct variable name in comment 2019-04-09 14:50:45 -05:00
Shaun Smiley
e658031360 Add ssl_dhparam option (#114)
* add dhparam to README

* add dhparam to defaults/main.yml
2019-04-08 14:16:28 +01:00