Skip to content

Commit 55488fd

Browse files
Merge pull request #41 from Avature/ReduceWarnings
Change default: to value:
2 parents db3dcdf + f4ceb42 commit 55488fd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

controls/nginx_spec.rb

+11-11
Original file line numberDiff line numberDiff line change
@@ -24,67 +24,67 @@
2424
CLIENT_MAX_BODY_SIZE = attribute(
2525
'client_max_body_size',
2626
description: 'Sets the maximum allowed size of the client request body, specified in the “Content-Length” request header field. If the size in a request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Please be aware that browsers cannot correctly display this error. Setting size to 0 disables checking of client request body size.',
27-
default: '1k'
27+
value: '1k'
2828
)
2929

3030
CLIENT_BODY_BUFFER_SIZE = attribute(
3131
'client_body_buffer_size',
3232
description: 'Sets buffer size for reading client request body. In case the request body is larger than the buffer, the whole body or only its part is written to a temporary file. By default, buffer size is equal to two memory pages. This is 8K on x86, other 32-bit platforms, and x86-64. It is usually 16K on other 64-bit platforms.',
33-
default: '1k'
33+
value: '1k'
3434
)
3535

3636
CLIENT_HEADER_BUFFER_SIZE = attribute(
3737
'client_header_buffer_size',
3838
description: 'Sets buffer size for reading client request header. For most requests, a buffer of 1K bytes is enough. However, if a request includes long cookies, or comes from a WAP client, it may not fit into 1K. If a request line or a request header field does not fit into this buffer then larger buffers, configured by the large_client_header_buffers directive, are allocated.',
39-
default: '1k'
39+
value: '1k'
4040
)
4141

4242
LARGE_CLIENT_HEADER_BUFFER = attribute(
4343
'large_client_header_buffers',
4444
description: 'Sets the maximum number and size of buffers used for reading large client request header. A request line cannot exceed the size of one buffer, or the 414 (Request-URI Too Large) error is returned to the client. A request header field cannot exceed the size of one buffer as well, or the 400 (Bad Request) error is returned to the client. Buffers are allocated only on demand. By default, the buffer size is equal to 8K bytes. If after the end of request processing a connection is transitioned into the keep-alive state, these buffers are released.',
45-
default: '2 1k'
45+
value: '2 1k'
4646
)
4747

4848
KEEPALIVE_TIMEOUT = attribute(
4949
'keepalive_timeout',
5050
description: 'The first parameter sets a timeout during which a keep-alive client connection will stay open on the server side. The zero value disables keep-alive client connections. The optional second parameter sets a value in the “Keep-Alive: timeout=time” response header field. Two parameters may differ.',
51-
default: '5 5'
51+
value: '5 5'
5252
)
5353

5454
CLIENT_BODY_TIMEOUT = attribute(
5555
'client_body_timeout',
5656
description: 'Defines a timeout for reading client request body. The timeout is set only for a period between two successive read operations, not for the transmission of the whole request body. If a client does not transmit anything within this time, the 408 (Request Time-out) error is returned to the client.',
57-
default: '10'
57+
value: '10'
5858
)
5959

6060
CLIENT_HEADER_TIMEOUT = attribute(
6161
'client_header_timeout',
6262
description: 'Defines a timeout for reading client request header. If a client does not transmit the entire header within this time, the 408 (Request Time-out) error is returned to the client.',
63-
default: '10'
63+
value: '10'
6464
)
6565

6666
SEND_TIMEOUT = attribute(
6767
'send_timeout',
6868
description: 'Sets a timeout for transmitting a response to the client. The timeout is set only between two successive write operations, not for the transmission of the whole response. If the client does not receive anything within this time, the connection is closed.',
69-
default: '10'
69+
value: '10'
7070
)
7171

7272
HTTP_METHODS = attribute(
7373
'http_methods',
7474
description: 'Specify the used HTTP methods',
75-
default: 'GET\|HEAD\|POST'
75+
value: 'GET\|HEAD\|POST'
7676
)
7777

7878
HTTP_METHODS_CHECK = attribute(
7979
'http_methods_check',
8080
description: 'Defines if http_methods should be checked in the nginx configuration',
81-
default: false
81+
value: false
8282
)
8383

8484
NGINX_COOKIE_FLAG_MODULE = attribute(
8585
'nginx_cookie_flag_module',
8686
description: 'Defines if nginx has been compiled with nginx_cookie_flag_module',
87-
default: false
87+
value: false
8888
)
8989

9090
only_if do

0 commit comments

Comments
 (0)