Commit Graph

30 Commits

Author SHA1 Message Date
Philip Henning
f5f3a65fd8 Add proxy_buffering directive to reverse proxy block (#149) 2019-07-15 14:41:19 +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
898c5a5f9c Remove Ubuntu Artful test (#127)
* Remove Ubuntu artful test

* Remove Artful from Travis build matrix
2019-05-17 14:01:55 +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
Alexander Rublev
469d663bc2 Add proxy_redirect parameter for location blocks (#102)
* Add proxy_redirect parameter for http and location blocks (#1)

* Use ternary() filter to handle proxy_redirect parameter
2019-02-18 14:23:57 +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
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
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
Alexander Rublev
164a6bda98 Update test nginx-template.yml 2018-11-19 07:10:19 +03: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
d294779f8b Rename variables
All variables are now prefixed with `nginx` - resolves #57
2018-09-14 16:28:20 -07:00
Alessandro Fael Garcia
8aad2bcb94 Do not install NGINX in the NGINX Unit test playbooks 2018-07-11 15:44:36 -07:00
Alessandro Fael Garcia
7c66da1ee4 Fix Ubuntu Artful and Ubuntu Bionic Dockerfiles
Explicitly install init dependency
2018-06-27 15:13:17 -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
6bba55e4a2 Add tests 2018-06-26 16:41:35 -07:00
Alessandro Fael Garcia
75939983e1 Add stable branch test playbook 2018-05-11 15:48:17 -07:00
Alessandro Fael Garcia
1bedaa9e0c Remove global variable from Travis build matrix
Global variables rewrite each other on Travis instead of creating a build matrix
2018-04-16 15:56:56 -07:00
Alessandro Fael Garcia
4281c51dbc Create test playbooks 2018-04-16 13:28:32 -07:00
Alessandro Fael Garcia
722b99d766 Install dirmngr dependency 2018-04-13 17:10:29 -07:00
Alessandro Fael Garcia
408b09222c Replace gnupg1 by gnupg2 2018-04-13 16:57:39 -07:00
Alessandro Fael Garcia
68f4939d0f Install gnupg1 dependency 2018-04-13 16:47:07 -07:00
Alessandro Fael Garcia
42c1be1b24 Install curl depency in Debian based containers 2018-04-13 16:11:25 -07:00
Alessandro Fael Garcia
cb33749393 Fix Dockerfiles syntax 2018-04-13 15:59:19 -07:00
Alessandro Fael Garcia
51cd432317 Fix Dockerfiles
* Install apt-transport-https depency in Debian based containers
* Test different CMD instruction in CentOS 6 container
2018-04-13 15:53:19 -07:00
Alessandro Fael Garcia
2b72889d90 Test role across multiple distributions
Implement support to test the role in multiple Linux distributions by deploying Docker containers within Travis
2018-04-13 15:26:00 -07:00
Alessandro Fael Garcia
e2b83ac215 Initial role commit 2018-01-10 14:40:01 -08:00