File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 83
83
$gzip_proxied = ' off' ,
84
84
$gzip_types = undef ,
85
85
$gzip_vary = ' off' ,
86
- $http_cfg_prepend = false ,
86
+ $http_cfg_prepend = undef ,
87
87
$http_cfg_append = undef ,
88
88
$http_tcp_nodelay = ' on' ,
89
89
$http_tcp_nopush = ' off' ,
217
217
}
218
218
validate_string($proxy_buffers )
219
219
validate_string($proxy_buffer_size )
220
- if ($http_cfg_prepend != false ) {
221
- if !(is_hash($http_cfg_prepend ) or is_array($http_cfg_prepend )) {
222
- fail(' $http_cfg_prepend must be either a hash or array' )
223
- }
224
- }
225
-
226
- if ($nginx_cfg_prepend != false ) {
227
- if !(is_hash($nginx_cfg_prepend ) or is_array($nginx_cfg_prepend )) {
228
- fail(' $nginx_cfg_prepend must be either a hash or array' )
229
- }
230
- }
231
220
232
221
if !(is_string($http_access_log ) or is_array($http_access_log )) {
233
222
fail(' $http_access_log must be either a string or array' )
You can’t perform that action at this time.
0 commit comments