alibaba / alibaba/nginx-http-concat

Nginx 1.6.2 合并js,css都404 - -求救

Open
#23 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

location /img/ {
concat on;
concat_max_files 20;
}

话说这个/img/是域名相对地址,还是主机本地相对地址,我本地相对地址是/web/img/

反正改过,两者都没成功。

不知道这边还有没有人维护呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported Nginx 1.6.2 setup with the shown location /img/ block and concat settings. Check how the /img/ URL maps to /web/img/ and verify that the concatenated JavaScript and CSS files return successfully instead of 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.