alibaba / alibaba/nginx-http-concat

求助,试用了这个模块合并后的请求,浏览器一直返回400错误,文件类型是一样的,都是js,具体设置如下:

Open
#16 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
863
Forks
232
PR merge metrics
No merged PRs in 30d

Description

nginx 的版本:
mactekiMacBook-Pro-3:~ mac$ nginx -V
nginx version: nginx/1.5.7
built by clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --user=www --group=www --with-http_ssl_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module --http-proxy-temp-path=/var/nginx/proxy --http-fastcgi-temp-path=/var/nginx/fastcgi --http-client-body-temp-path=/var/nginx/client --add-module=nginx-http-concat

nginx.conf设置:
location /sea-modules/ {
concat on;
concat_max_files 20;
}
文件目录就是html-->index+sea-modules

浏览器报错提示:
Request URL:http://localhost/sea-modules/arale/??class/1.1.0/class.js,events/1.1.0/events.js
Request Method:GET
Status Code:400 Bad Request

紧急求助,还望各位大牛能帮我解答一下

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the GET request shown in the report with nginx 1.5.7 and the provided nginx.conf location block. Inspect the nginx-http-concat module behavior for this URL and configuration; the work is done when the source of the 400 response is identified and a verified configuration or compatibility resolution is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.