mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-03 12:37:36 +08:00
parent
6e0da454d1
commit
0b00e82773
@ -25,6 +25,16 @@ set -ex
|
||||
|
||||
git checkout conf/config.yaml
|
||||
|
||||
# check 'Server: APISIX' is not in nginx.conf. We already added it in Lua code.
|
||||
make init
|
||||
|
||||
if grep "Server: APISIX" conf/nginx.conf > /dev/null; then
|
||||
echo "failed: 'Server: APISIX' should not be added twice"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "passed: 'Server: APISIX' not in nginx.conf"
|
||||
|
||||
# check whether the 'reuseport' is in nginx.conf .
|
||||
make init
|
||||
|
||||
|
@ -238,7 +238,6 @@ http {
|
||||
send_timeout {* http.send_timeout *};
|
||||
|
||||
server_tokens off;
|
||||
more_set_headers 'Server: APISIX web server';
|
||||
|
||||
include mime.types;
|
||||
charset utf-8;
|
||||
|
Loading…
Reference in New Issue
Block a user