This commit is contained in:
@@ -301,11 +301,6 @@ render_nginx_brotli_directives() {
|
||||
return
|
||||
fi
|
||||
|
||||
if ! nginx -V 2>&1 | grep -qi brotli; then
|
||||
echo " # Brotli 未启用:当前 nginx 未编译或加载 brotli 模块。"
|
||||
return
|
||||
fi
|
||||
|
||||
local brotli_snippet
|
||||
brotli_snippet="$(mktemp)"
|
||||
cat >"${brotli_snippet}" <<'EOF'
|
||||
|
||||
Reference in New Issue
Block a user