Commit Graph

83 Commits

Author SHA1 Message Date
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
Grzegorz Dzien
6fa36689e7
Merge pull request #107 from etcet/multiline-ansible-managed
Support multi-line ansible_managed messages
2019-02-22 17:31:23 +00: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
Chris James
60381b31c1 Support multi-line ansible_managed messages 2019-02-22 10:48:17 -06: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
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
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
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
Daniel Mills
fe3caad174 Add ansible_managed to templates (#81)
* Add ansible_managed to templates

* Put ansible managed in the right place

* Remove extraneous empty line
2019-01-03 23:13:56 +01:00
Daniel Mills
dad58ec5cd Ignore undefined values for autoindex and health check (#80)
* Ignore undefined autoindex

* ignore undefined health_check_plus
2018-12-22 23:26:03 +01:00
Alessandro Fael Garcia
243cee42d5 Rename html_app_name to web_server_name 2018-12-03 21:02:51 +01:00
Dmitriy Skopintsev
92c154ff4b SSL certificate and key path to default.conf (#78)
* Fix example playbook section

* Add SSL certificate and key upload destination path to configuration file
2018-12-03 07:18:31 -08:00
Alessandro Fael Garcia
7670d11b1d Fix HTML templating 2018-11-26 14:15:57 -08: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
709e52eb0b Allow to generate custom locations in web_server mode 2018-11-14 23:33:54 +07:00
Alexander Rublev
33f72ee8f2 Allow to generate custom locations in load_balancer mode 2018-11-13 09:57:44 +03:00
Alexander Rublev
e2063d9eba Allow setting a passive health checks 2018-11-09 13:28:16 +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
9fea522566 Fix more repository variables 2018-09-14 17:27:12 -07:00
Alessandro Fael Garcia
6047a1107d Refactor REST API deployment
This refactor should fix #17 and ensure that api.conf only gets created when rest_api_enable is set to true and that api.conf gets created in the correct location
2018-04-06 16:29:49 -07:00
Alessandro Fael Garcia
e80ab120b7 Add conditional check
This conditional ensures that the NGINX API will only be deployed if enabled
2018-04-05 14:50:53 -07:00
Richard Delorier
6bedd81a49
Fix typo 2018-04-04 19:21:03 -04:00
Alessandro Fael Garcia
147410ab03 Refactor templates
Refactor template variables and configuration scripts
2018-02-20 12:28:14 -08:00
Alessandro Fael Garcia
f6f1e0907c Upload simple/templated configuration files 2018-01-26 11:00:26 -08:00
Alessandro Fael Garcia
78a7e3efeb Multiple changes
* Add option to enable REST API
* Add option to enable live dashboard
* Add option to install WAF module
* Load modules in nginx.conf
* Improve version check for RedHat distros
2018-01-19 10:27:47 -08:00
Alessandro Fael Garcia
e2b83ac215 Initial role commit 2018-01-10 14:40:01 -08:00