@@ -34,11 +34,50 @@ nginx_config_main_template:
34
34
# cpu_thresholds: # Optional
35
35
# high: 100 # Required
36
36
# low: 100 # Required
37
- # failure_mode_action: pass # Optional -- ` pass` or ` drop`
37
+ # failure_mode_action: pass # Optional -- ' pass' or ' drop'
38
38
# cookie_seed: encryptionseed # Optional
39
- # compressed_requests_action: drop # Optional -- ` pass` or ` drop`
40
- # request_buffer_overflow_action: pass # Optional -- ` pass` or ` drop`
39
+ # compressed_requests_action: drop # Optional -- ' pass' or ' drop'
40
+ # request_buffer_overflow_action: pass # Optional -- ' pass' or ' drop'
41
41
# user_defined_signatures: [] # Optional list
42
+ # app_protect: # Optional -- Configure NGINX App Protect
43
+ # enable: false # Optional
44
+ # policy_file: path # Optional
45
+ # security_log_enable: false # Optional
46
+ # security_log: # Optional
47
+ # path: path # Required
48
+ # destination: dest # Required
49
+ # grpc_global: # Optional -- Configure GRPC
50
+ # bind: # Optional -- Set to 'false' and remove/comment nested variables to disable grpc_bind
51
+ # address: $remote_addr # Required
52
+ # transparent: true # Optional
53
+ # buffer_size: 4k # Optional
54
+ # connect_timeout: 60s # Optional
55
+ # hide_header: [] # Optional list
56
+ # ignore_headers: [] # Optional list -- 'X-Accel-Redirect' or 'X-Accel-Charset'
57
+ # intercept_errors: false # Optional
58
+ # next_upstream: [] # Optional list
59
+ # next_upstream_timeout: 0 # Optional
60
+ # next_upstream_tries: 0 # Optional
61
+ # pass_header: [] # Optional list
62
+ # read_timeout: 60s # Optional
63
+ # send_timeout: 60s # Optional
64
+ # set_header: # Optional
65
+ # - field: Accept-Encoding # Required
66
+ # value: '""' # Required
67
+ # socket_keepalive: false # Optional
68
+ # ssl_certificate: fileLocation # Optional
69
+ # ssl_certificate_key: fileLocation # Optional
70
+ # ssl_ciphers: DEFAULT # Optional
71
+ # ssl_conf_command: command # Optional
72
+ # ssl_crl: fileLocation # Optional
73
+ # ssl_name: serverName # Optional
74
+ # ssl_password_file: fileLocation # Optional
75
+ # ssl_protocols: [] # Optional list
76
+ # ssl_server_name: false # Optional
77
+ # ssl_session_reuse: true # Optional
78
+ # ssl_trusted_certificate: fileLocation # Optional
79
+ # ssl_verify: false # Optional
80
+ # ssl_verify_depth: 1 # Optional
42
81
access_log_format :
43
82
- name : main
44
83
format : |-
@@ -96,6 +135,38 @@ nginx_config_http_template:
96
135
# security_log: # Optional
97
136
# path: path # Required
98
137
# destination: dest # Required
138
+ # grpc_global: # Optional -- Configure GRPC
139
+ # bind: # Optional -- Set to 'false' and remove/comment nested variables to disable grpc_bind
140
+ # address: $remote_addr # Required
141
+ # transparent: true # Optional
142
+ # buffer_size: 4k # Optional
143
+ # connect_timeout: 60s # Optional
144
+ # hide_header: [] # Optional list
145
+ # ignore_headers: [] # Optional list -- 'X-Accel-Redirect' or 'X-Accel-Charset'
146
+ # intercept_errors: false # Optional
147
+ # next_upstream: [] # Optional list
148
+ # next_upstream_timeout: 0 # Optional
149
+ # next_upstream_tries: 0 # Optional
150
+ # pass_header: [] # Optional list
151
+ # read_timeout: 60s # Optional
152
+ # send_timeout: 60s # Optional
153
+ # set_header: # Optional
154
+ # - field: Accept-Encoding # Required
155
+ # value: '""' # Required
156
+ # socket_keepalive: false # Optional
157
+ # ssl_certificate: fileLocation # Optional
158
+ # ssl_certificate_key: fileLocation # Optional
159
+ # ssl_ciphers: DEFAULT # Optional
160
+ # ssl_conf_command: command # Optional
161
+ # ssl_crl: fileLocation # Optional
162
+ # ssl_name: serverName # Optional
163
+ # ssl_password_file: fileLocation # Optional
164
+ # ssl_protocols: [] # Optional list
165
+ # ssl_server_name: false # Optional
166
+ # ssl_session_reuse: true # Optional
167
+ # ssl_trusted_certificate: fileLocation # Optional
168
+ # ssl_verify: false # Optional
169
+ # ssl_verify_depth: 1 # Optional
99
170
ssl :
100
171
cert : /etc/ssl/certs/default.crt
101
172
key : /etc/ssl/private/default.key
@@ -161,6 +232,40 @@ nginx_config_http_template:
161
232
# security_log: # Optional
162
233
# path: path # Required
163
234
# destination: dest # Required
235
+ # grpc_global: # Optional -- Configure GRPC
236
+ # bind: # Optional -- Set to 'false' and remove/comment nested variables to disable grpc_bind
237
+ # address: $remote_addr # Required
238
+ # transparent: true # Optional
239
+ # buffer_size: 4k # Optional
240
+ # connect_timeout: 60s # Optional
241
+ # hide_header: [] # Optional list
242
+ # ignore_headers: [] # Optional list -- 'X-Accel-Redirect' or 'X-Accel-Charset'
243
+ # intercept_errors: false # Optional
244
+ # next_upstream: [] # Optional list
245
+ # next_upstream_timeout: 0 # Optional
246
+ # next_upstream_tries: 0 # Optional
247
+ # pass_header: [] # Optional list
248
+ # read_timeout: 60s # Optional
249
+ # send_timeout: 60s # Optional
250
+ # set_header: # Optional
251
+ # - field: Accept-Encoding # Required
252
+ # value: '""' # Required
253
+ # socket_keepalive: false # Optional
254
+ # ssl_certificate: fileLocation # Optional
255
+ # ssl_certificate_key: fileLocation # Optional
256
+ # ssl_ciphers: DEFAULT # Optional
257
+ # ssl_conf_command: command # Optional
258
+ # ssl_crl: fileLocation # Optional
259
+ # ssl_name: serverName # Optional
260
+ # ssl_password_file: fileLocation # Optional
261
+ # ssl_protocols: [] # Optional list
262
+ # ssl_server_name: false # Optional
263
+ # ssl_session_reuse: true # Optional
264
+ # ssl_trusted_certificate: fileLocation # Optional
265
+ # ssl_verify: false # Optional
266
+ # ssl_verify_depth: 1 # Optional
267
+ # grpc: # Optional -- Configure GRPC
268
+ # pass: localhost:9000 # Optional
164
269
include_files : []
165
270
proxy_hide_headers : [] # A list of headers which shouldn't be passed to the application
166
271
add_headers :
@@ -361,7 +466,7 @@ nginx_config_status_enable: false
361
466
nginx_config_status_template_file : http/status.conf.j2
362
467
nginx_config_status_file_location : /etc/nginx/conf.d/status.conf
363
468
nginx_config_status_port : 8080 # Optional -- Defaults to 8080
364
- nginx_config_status_access_log : # Optional -- Set to 'false' to disable access log
469
+ nginx_config_status_access_log : # Optional -- Set to 'false' and remove/comment nested variables to disable access log
365
470
location : /var/log/nginx/access.log # Required
366
471
name : main # Required
367
472
nginx_config_status_allow : # Optional
@@ -377,7 +482,7 @@ nginx_config_rest_api_template_file: http/api.conf.j2
377
482
nginx_config_rest_api_file_location : /etc/nginx/conf.d/api.conf
378
483
nginx_config_rest_api_port : 8080 # Optional-- Defaults to 8080
379
484
nginx_config_rest_api_write : false # Optional
380
- nginx_config_rest_api_access_log : # Optional -- Set to 'false' to disable access log
485
+ nginx_config_rest_api_access_log : # Optional -- Set to 'false' and remove/comment nested variables to disable access log
381
486
location : /var/log/nginx/access.log # Required
382
487
name : main # Required
383
488
nginx_config_rest_api_allow : # Optional
0 commit comments