Commit Graph

62 Commits

Author SHA1 Message Date
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
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
Tom Gamull
4c96e196d4 Added support for try_files (#117)
* Added support for try_files

* updated try_files for server and web server

* change stream test template port to 81 for travis

* Fix for travis test and localhost error
2019-04-04 19:09:42 +01:00
Robert August Vincent II
58b3b71077 Add configuration variable for starting nginx service. 2019-03-21 08:32:27 -04:00
Marcin Mielnicki
d2a6f4b81e
Allow to set proxy_connect_timeout and proxy_read_timeout per reverse proxy 2019-03-07 21:34:22 +01:00
Alan Downing
e0bbce9b7f Changing the API config to be a template 2019-02-28 14:27:18 -05:00
Timothy Allen
328318bc19 Advance SSL and proxy SSL settings (#100)
* Added stream template variables
* Added logic in Stream template
* Add udp variable
* Add ssl protocols and ciphers
* Add advance ssl to template
* Add SSL variables
2019-02-22 17:28:19 +00:00
Alessandro Fael Garcia
b7913c6c4d Fix line limit Ansible lint warnings (#106) 2019-02-19 16:15:04 +00:00
Alessandro Fael Garcia
589d668def Add parameter to cleanup existing NGINX configs (#103) 2019-02-15 14:51:09 +00:00
Alessandro Fael Garcia
171b7d0cce Add root parameter to server context (#104)
* Add root parameter to server context

* Update NGINX Unit test playbook
2019-02-15 13:59:38 +00:00
Alexander Rublev
f29d9c33f0 Allow setting basic parameters for proxy cache (#94)
* Add parameters for proxy cache
2019-02-12 15:12:40 +00:00
Marcin Mielnicki
80f6157692 Support for configuration of basic authentication (#99)
* Support for basic authentication
2019-02-12 12:32:11 +00:00
carlba
8db44bf979 Websocket support enabled for reverse proxy locations. (#97)
* Websocket support for reverse proxy locations.
2019-02-08 13:32:32 +00:00
Timothy Allen
3a66e10a17 Basic stream template (#92)
* Add Stream template defaults
* Add stream default config template
* Added stream template variables
* Changed Ansible task to use new stream template
2019-02-06 12:39:48 +00:00
Alessandro Fael Garcia
1d3b03ea2b
Improve tests (#90)
* Update .travis.yml

* Create Travis build matrix

* Add nginx-modules.yml test playbook to Travis build matrix

* Improve template test playbook

* Change HTML template variables from Ansible to NGINX variables
2019-01-21 12:19:30 +01:00
Alessandro Fael Garcia
fdfff7efca Revert upload destinations 2019-01-14 17:37:49 +01:00
Alessandro Fael Garcia
bcc3f1e166 Improve templating
* Rename load_balancer block to reverse_proxy
* Clarify that the redirect variable refers to a http to https redirect
* Allow setting the listen port when using SSL
* Improve SSL defaults
* Allow setting http or https server locations in proxy_pass
2019-01-14 17:26:37 +01:00
Alessandro Fael Garcia
c1c3a372d7
Allow setting a custom apt and rpm signing key host (#84)
* Allow setting a custom apt and rpm signing key host

* Change default fallback key to https

* Use facts to determine which signing key to use

* Add single quotes
2019-01-09 00:26:14 +01:00
Daniel Mills
bd09ecd85e Add support for enabling an http to https redirects (#82)
* Add support for enabling an http to https redirects

* Remove extra curly brace

* Update default.conf.j2

Remove another extra curly brace

* Add redirect variable to defaults and readme
2019-01-03 23:14:25 +01:00
Alessandro Fael Garcia
243cee42d5 Rename html_app_name to web_server_name 2018-12-03 21:02:51 +01:00
Dmitriy Skopintsev
df84780f02 Enable autoindex in http, server and location namespaces (#75)
* Added condition to use new autoindex variable

* Added condition to use new autoindex variable for separate virtual hosts

* Added global autoindex and autoindex for separate virutal hosts

* Added autoindex enabling for virtual host namespace

* Added autoindex enabling for virtual host namespace variable

* Added autoindex for testing puprposes

* Changed autoindex to false

* Added autoindex for virtual host

* Added autoindex ot readme file
2018-11-26 12:06:46 -07:00
Alessandro Fael Garcia
5cd48e5b5c Fix HTML templating 2018-11-19 12:06:19 -08:00
Alexander Rublev
87db5ea0b8 Update default/main.yml by adding vars for generating custom locations in web_server mode 2018-11-14 23:50:12 +07:00
Alexander Rublev
33f72ee8f2 Allow to generate custom locations in load_balancer mode 2018-11-13 09:57:44 +03:00
Alexander Rublev
6a6f23032f Update defaults/main.yml by adding health_check var 2018-11-10 16:37:49 +07:00
Alessandro Fael Garcia
13a847234e Refactor templating
* Add more advanced HTTP templating options
* Let users choose the upload destination when uploading files
* Implement the ability to print your NGINX configuration to your terminal after running a playbook
2018-10-16 11:52:04 -07:00
Alessandro Fael Garcia
fd3a21f0c0 Fix repository variables 2018-09-14 17:01:49 -07:00
Alessandro Fael Garcia
d294779f8b Rename variables
All variables are now prefixed with `nginx` - resolves #57
2018-09-14 16:28:20 -07:00
Alessandro Fael Garcia
a55a50d570 Refactor NGINX Amplify agent installation 2018-09-12 14:03:20 -07:00
Alessandro Fael Garcia
9eb3726124 Update documentation
Add stub status or REST API prerequisite
2018-09-11 13:08:15 -07:00
Alessandro Fael Garcia
4b0feeb0cc Update documentation and controller variables 2018-09-11 11:26:56 -07:00
Alessandro Fael Garcia
ef1294b91c Install NGINX Controller agent 2018-09-10 16:05:25 -07:00
Alessandro Fael Garcia
2a7184a06b Add option to delete license after installing NGINX Plus 2018-08-01 11:40:35 -07:00
Alessandro Fael Garcia
dcfa8cd43b Update docs
* Update README
* Update Ansible Galaxy metadata
* Fix syntax on defaults file
2018-07-18 15:01:16 -07:00
Alessandro Fael Garcia
c57e0a79d2 Add nginx_enable variable
Users can now choose to only install NGINX Unit
2018-07-11 15:41:10 -07:00
Alessandro Fael Garcia
f13cf016a8 Add tests
Add Ubuntu Artful and Ubuntu Bionic tests to Travis
2018-06-27 13:36:26 -07:00
Alessandro Fael Garcia
bd0c581ac1 Refactor installation of NGINX Unit modules
Use a list that lets users specify which modules they want to install instead of installing all modules available in each distro
2018-06-27 13:16:57 -07:00
Alessandro Fael Garcia
02db93d432 Merge branch 'master' into (feature)/unit
Bring the (feature)/unit branch up to date with the master branch
2018-06-25 14:35:09 -07:00
Alessandro Fael Garcia
8e3ca5e5a0 Use Ansible ternary operator instead of J2 conditionals 2018-05-14 11:31:46 -07:00
Alessandro Fael Garcia
4037b195ff Refactor repository into a variable 2018-05-11 15:12:06 -07:00
Alessandro Fael Garcia
98974fbf1a Implement support to select NGINX repository
Resolve #32 - Initial options include using the default NGINX packages included in the host system or using the NGINX packages included in the NGINX repository
2018-05-11 13:31:31 -07:00