Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
19d19483d7 Typo correction 2018-11-16 08:39:01 +03:00
Alexander Rublev
75cc3b630e Update README.md by adding new introduced vars 2018-11-16 07:46:14 +03:00
Alexander Rublev
0e68067c5f Merge remote-tracking branch 'upstream/master' 2018-11-16 06:54:49 +03:00
Alexander Rublev
e13606c8df Typo correction 2018-11-15 01:48:51 +07:00
Alexander Rublev
aa4fcd34bd Update in README.md 2018-11-15 01:18:38 +07:00
Alessandro Fael Garcia
71f4eb3605 Add hkp signing key fallback option for Stretch 2018-11-12 11:47:37 -08: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
a563c8ee9f Add note to README about development status
Fixes #47
2018-08-02 16:05:41 -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
962518e5e1 Minor fixes
* Fix README typo
* Add yml start of file indicator
2018-07-12 11:19:17 -07:00
Alessandro Fael Garcia
9f4e54b435 Update README and Ansible Galaxy Metadata 2018-07-11 18:02:42 -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
fb74edc9cb Update README.md 2018-06-27 17:12:14 -07:00
Alessandro Fael Garcia
2679ee6cb7 Add Ubuntu Bionic to supported platforms list 2018-06-26 16:29:31 -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
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
Alessandro Fael Garcia
9555ab9559 Update branding 2018-04-12 10:20:39 -07:00
Alessandro Fael Garcia
0ed9afb71a Add NGINX Unit documentation 2018-04-09 14:22:13 -07:00
Alessandro Fael Garcia
4723ffa447 Update README.md 2018-04-09 10:52:24 -07:00
Alessandro Fael Garcia
fd7a7fa592 Update README.md 2018-03-12 09:30:09 -07:00
Alessandro Fael Garcia
10aaff3698 Update defaults and README.md
Improve the readability of the Ansible role defaults and README.md
2018-03-01 17:12:28 -08: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
c06b7320ad Fix typo in README.md 2018-01-20 13:19:47 -08:00
Alessandro Fael Garcia
3736780115 Update README.md 2018-01-20 13:18:59 -08:00
Alessandro Fael Garcia
d109072a37 Change default location of NGINX license 2018-01-17 09:13:44 -08:00
Alessandro Fael Garcia
e2b83ac215 Initial role commit 2018-01-10 14:40:01 -08:00