Commit Graph

92 Commits

Author SHA1 Message Date
Alessandro Fael Garcia
17b5c87d71
Add basic assertions (#319) 2020-09-15 21:27:06 +02:00
Alessandro Fael Garcia
9b9b3e8dd3
Refactor modules (#315) 2020-09-08 00:44:54 +02:00
Alessandro Fael Garcia
3bcd7a0919
Prepare 0.15.0 release (#300) 2020-08-19 18:39:17 +02:00
Pavel Starosek
0922304b12
Add default_type templating option (#299) 2020-08-10 14:29:27 +02:00
Alessandro Fael Garcia
b7e25961d6
Refactor status templating (#288) 2020-07-22 16:19:43 +02:00
Alessandro Fael Garcia
838e756ab8
Improve support for listen and ssl directives in stream contexts (#287) 2020-07-21 17:26:42 +02:00
Pritpal Sabharwal
a0a49176a3
Add support for down parameter for upstreams (#278) 2020-07-06 14:36:34 +02:00
Emile Broeders
63325aac0b
Add option for custom error pages (#276) 2020-07-01 12:22:37 +02:00
Alessandro Fael Garcia
c1b707cc5b
Add default values for PID and error log (#277) 2020-06-30 22:39:25 +02:00
Tom Gamull
7e6a7f0397
Triple S!!! Speed, Systemd and Selinux (#272) 2020-06-30 18:59:53 +02:00
Marco Tizzoni
f3c8bd2b70
Fix error when http_demo_conf undefined (#274) 2020-06-29 15:56:45 +02:00
Emile Broeders
21e03b27dd
Adding nginx_main_template.http_custom_includes (#270) 2020-06-24 15:50:28 +02:00
Alessandro Fael Garcia
902d4ff83f
Add PID templating option (#267) 2020-06-24 12:19:09 +02:00
Alessandro Fael Garcia
77ccf86255
Add access_log to status and API configuration files (#265) 2020-06-23 17:48:43 +02:00
Alessandro Fael Garcia
60796abcd5
Add support for unix upstreams (#266)
Resolves #232
2020-06-22 20:54:29 +02:00
Seena Fallah
7822449f25
Fix bug on debian logrotate scripts (#260)
prerotate isn't working if there is no httpd-prerotate and it's no more needed and also postrotate can be kill -USR1
2020-06-10 21:22:44 +02:00
Alessandro Fael Garcia
06b8f5a020
Remove semicolons from custom_options (#259)
This will fix custom blocks such as `if` blocks not working as intended unless a comment sign is added at the end of each line
2020-06-09 18:23:38 +02:00
Fanch
b254348851
Allow proxy_http_version and websocket whithout proxy_set_header (#256) 2020-05-29 18:00:26 +02:00
Estefano Gonçalves
5a35dc3271
Add ssl_ecdh_curve and ssl_buffer_size directives (#252) 2020-05-25 13:59:38 +02:00
Seena Fallah
3db516413e
Add custom logrotate config (#251) 2020-05-19 22:51:08 +02:00
Philip Henning
5ac87644a8
Add implementation of ngx_http_sub_module config (#216) 2020-02-14 15:54:31 -08:00
Seena Fallah
0b176f847a Make ssl optional for listeners (#215) 2020-01-09 16:40:36 +01:00
Alessandro Fael Garcia
905d6c7531
Let users define the target https redirect variable (#203)
Fixes #153
2019-12-06 20:51:11 -08:00
Pritpal Sabharwal
f56855bd16 Don't enforce the use of lb_method in upstream. (#199) 2019-11-29 03:21:32 +00:00
Seena Fallah
4ad659a784 Fixed bug on tcp_nopush and tcp_nodelay for nginx.conf.j2 (#198) 2019-11-26 14:30:05 +01: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
Seena Fallah
3778113cde Add proxy_sent_timeout and make upstream zones optional (#188)
* Add proxy_send_timeout variable

* Make zone parameter optional
2019-11-21 13:15:18 +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
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
Carl Bäckström
b2fc8b5621 Added option to set allows and denies for locations (#133) 2019-08-05 20:20:12 +02:00
Zeno Grandi
487a2d0c07 Use Molecule for testing (#158)
* Ported test playbooks to Molecule scenarios

* Update Travis integration

* Delete legacy tests
2019-08-03 12:53:21 +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
Andrew N Golovkov
b1ee7e7ff2 Make some variables optional. (#156)
* make variable nginx_main_template.http_global_autoindex optional

* make location variables autoindex, html_file_location and html_file_name optional
2019-07-15 19:12:44 +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