为了不向后端传递垃圾,我对location
指令有一个严格的正则表达式。它看起来像这样:
location ^~ "/(some|stuff|more|bar|etc(-testing)?)/[a-zA-Z0-9]+/...(more|restrict).ext {
# other directives
}
Run Code Online (Sandbox Code Playgroud)
我想在 80 个字符处折叠该行,有没有办法拆分配置?以下结果会导致语法错误,但这是我正在寻找的内容:
location ^~ "/(some|stuff|more|bar|etc(-testing)?)/[a-zA-Z0-9]+/"\
"...(more|restrict).ext" {
# results in a literal newline (%0A) being accepted
location ^~ "/(some|stuff|more|bar|etc(-testing)?)/[a-zA-Z0-9]+/
...(more|restrict).ext" {
Run Code Online (Sandbox Code Playgroud)
我在文档中找不到提示(http://wiki.nginx.org/ConfigNotation也没有http://wiki.nginx.org/HttpCoreModule#location提到折叠线的任何内容)
最近有新闻宣布英国的 PCI 标准将禁止使用 TLS1.0。
不幸的是,这意味着我们将不得不在明年夏天之前停止在我们的电子商务网络服务器上使用 TLS1.0。
我们想确定使用 TLS1.0 连接到站点的用户的百分比,以确定这的影响以及我们需要的响应。
是否有适用于 Apache 的模块或其他东西可以让我们做到这一点?我可以只使用普通的日志记录吗?
该站点的流量很大,因此在调试级别记录 SSL 内容可能会很快填满我们的硬盘......