alibaba / alibaba/nginx-http-concat

unknown directive "concat" in /etc/nginx/vhosts/www.test.com:10

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

Description

在ubuntu 中使用时候报的错误, www,test,com 是一个站点的配置,如:
server{
listen 80;
server_name www.test.com;

```
access_log /home/xiechao/test/test.log;
location / {
root /home/xiechao/test/;
index index.html;
}
location /css/ {concat on;}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
```

}

Contributor guide

No contributing guide indexed for this repository

Research direction

The reported configuration is /etc/nginx/vhosts/www.test.com, including `location /css/ {concat on;}`; start by checking how the nginx module is built and loaded in Ubuntu. Done means the directive is recognized for that location without the reported unknown-directive error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, nginx
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.