@@ -186,7 +186,7 @@ nginx_install_from: nginx_repository
186
186
187
187
# Choose where to fetch the NGINX signing key from.
188
188
# Default is the official NGINX signing key host.
189
- nginx_signing_key : https ://nginx.org/keys/nginx_signing.key
189
+ nginx_signing_key : http ://nginx.org/keys/nginx_signing.key
190
190
191
191
# Specify source repository for NGINX Open Source.
192
192
# Only works if 'install_from' is set to 'nginx_repository'.
@@ -248,36 +248,28 @@ nginx_controller_api_endpoint: null
248
248
nginx_unit_enable : false
249
249
nginx_unit_modules : null
250
250
251
- # Enable NGINX status data .
252
- # Will enable 'stub_status' in NGINX Open Source and 'status' in NGINX Plus .
251
+ # Remove previously existing NGINX configuration files .
252
+ # Use a list of paths you wish to remove .
253
253
# Default is false.
254
- nginx_status_enable : false
255
- nginx_status_port : 8080
256
-
257
- # Enable NGINX Plus REST API, write access to the REST API, and NGINX Plus dashboard.
258
- # Requires NGINX Plus.
259
- # Default is false.
260
- nginx_rest_api_enable : false
261
- nginx_rest_api_location : /etc/nginx/conf.d/api.conf
262
- nginx_rest_api_port : 8080
263
- nginx_rest_api_write : false
264
- nginx_rest_api_dashboard : false
254
+ nginx_cleanup_config : false
255
+ nginx_cleanup_config_path :
256
+ - /etc/nginx/conf.d
265
257
266
258
# Enable uploading NGINX configuration files to your system.
267
259
# Default for uploading files is false.
268
260
# Default location of files is the files folder within the NGINX Ansible role.
269
261
# Upload the main NGINX configuration file.
270
262
nginx_main_upload_enable : false
271
263
nginx_main_upload_src : conf/nginx.conf
272
- nginx_main_upload_dest : /etc/nginx
264
+ nginx_main_upload_dest : /etc/nginx/
273
265
# Upload HTTP NGINX configuration files.
274
266
nginx_http_upload_enable : false
275
267
nginx_http_upload_src : conf/http/*.conf
276
- nginx_http_upload_dest : /etc/nginx/conf.d
268
+ nginx_http_upload_dest : /etc/nginx/conf.d/
277
269
# Upload Stream NGINX configuration files.
278
270
nginx_stream_upload_enable : false
279
271
nginx_stream_upload_src : conf/stream/*.conf
280
- nginx_stream_upload_dest : /etc/nginx/conf.d
272
+ nginx_stream_upload_dest : /etc/nginx/conf.d/
281
273
# Upload HTML files.
282
274
nginx_html_upload_enable : false
283
275
nginx_html_upload_src : www/*
@@ -321,8 +313,6 @@ nginx_main_template:
321
313
# Enable creating dynamic templated NGINX HTTP configuration files.
322
314
# Defaults will not produce a valid configuration. Instead they are meant to showcase
323
315
# the options available for templating. Each key represents a new configuration file.
324
- # Comment out reverse_proxy or web_server depending on whether you wish to create a web server
325
- # or load balancer configuration file.
326
316
nginx_http_template_enable : false
327
317
nginx_http_template :
328
318
default :
@@ -336,8 +326,8 @@ nginx_http_template:
336
326
https_redirect : false
337
327
autoindex : false
338
328
ssl :
339
- cert : ssl/default.crt
340
- key : ssl/default.key
329
+ cert : /etc/ ssl/certs /default.crt
330
+ key : /etc/ ssl/private /default.key
341
331
web_server :
342
332
locations :
343
333
default :
@@ -388,7 +378,6 @@ nginx_http_template:
388
378
auth_basic : null
389
379
auth_basic_file : null
390
380
health_check_plus : false
391
- proxy_cache_enable : false
392
381
proxy_cache :
393
382
proxy_cache_path :
394
383
path : /var/cache/nginx
@@ -401,7 +390,7 @@ nginx_http_template:
401
390
upstream1 :
402
391
name : backend
403
392
lb_method : least_conn
404
- zone_name : backend
393
+ zone_name : backend_mem_zone
405
394
zone_size : 64k
406
395
sticky_cookie : false
407
396
servers :
@@ -411,6 +400,21 @@ nginx_http_template:
411
400
weight : 1
412
401
health_check : max_fails=1 fail_timeout=10s
413
402
403
+ # Enable NGINX status data.
404
+ # Will enable 'stub_status' in NGINX Open Source and 'status' in NGINX Plus.
405
+ # Default is false.
406
+ nginx_status_enable : false
407
+ nginx_status_port : 8080
408
+
409
+ # Enable NGINX Plus REST API, write access to the REST API, and NGINX Plus dashboard.
410
+ # Requires NGINX Plus.
411
+ # Default is false.
412
+ nginx_rest_api_enable : false
413
+ nginx_rest_api_location : /etc/nginx/conf.d/api.conf
414
+ nginx_rest_api_port : 8080
415
+ nginx_rest_api_write : false
416
+ nginx_rest_api_dashboard : false
417
+
414
418
# Enable creating dynamic templated NGINX stream configuration files.
415
419
# Defaults will not produce a valid configuration. Instead they are meant to showcase
416
420
# the options available for templating. Each key represents a new configuration file.
0 commit comments