This commit is contained in:
Maxim Dounin 2014-09-11 20:08:45 +04:00
parent b4cb8475b1
commit d7d26feba1
2 changed files with 4 additions and 2 deletions

View File

@ -1248,7 +1248,8 @@ ngx_http_scgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
} }
if (conf->upstream.max_temp_file_size != 0 if (conf->upstream.max_temp_file_size != 0
&& conf->upstream.max_temp_file_size < size) { && conf->upstream.max_temp_file_size < size)
{
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"\"scgi_max_temp_file_size\" must be equal to zero to disable " "\"scgi_max_temp_file_size\" must be equal to zero to disable "
"temporary files usage or must be equal to or greater than " "temporary files usage or must be equal to or greater than "

View File

@ -1435,7 +1435,8 @@ ngx_http_uwsgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
} }
if (conf->upstream.max_temp_file_size != 0 if (conf->upstream.max_temp_file_size != 0
&& conf->upstream.max_temp_file_size < size) { && conf->upstream.max_temp_file_size < size)
{
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"\"uwsgi_max_temp_file_size\" must be equal to zero to disable " "\"uwsgi_max_temp_file_size\" must be equal to zero to disable "
"temporary files usage or must be equal to or greater than " "temporary files usage or must be equal to or greater than "