The 1.4.x version of Nginx did not find this problem, but in the 1.5.x version encountered this problem
Because Nginx is in the new version, the standard mime-type:application/javascript is used. In the current version of the code in the Nginx_concat_module module, the type of Application/x-javascript is written.
Found in Nginx-http-concat-master, line 14.
Static ngx_str_t ngx_http_concat_default_types[] = { ngx_string ("application/ X-javascript"), ngx_string ("text/css"), ngx_ Null_string};
Add ngx_string ("Application/javascript") to the above code, or change the ngx_string ("Application/x-javascript") to ngx_string directly (" Application/javascript ") on the Code
#修改static ngx_str_t ngx_http_concat_default_types[]={ngx_string ("Application/javascript"), ngx_string ("Text/css"), ngx_null_string}; #或者 # New Add static ngx_str_t ngx_http_concat_default_types[]={ngx_string ("Application/x-javascript"), ngx_string ("Application/javascript"), ngx_string ("Text/css"), ngx_null_string};
And then it's OK.
Nginx concat Module Configuration page return to Bad Request