增加是否记录499选项

This commit is contained in:
GoEdgeLab
2021-12-01 21:13:15 +08:00
parent cd5f5df838
commit ce8a89995c

View File

@@ -18,7 +18,8 @@ Vue.component("http-access-log-config-box", {
status4: true,
status5: true,
firewallOnly: false
firewallOnly: false,
enableClientClosed: false
}
if (this.vAccessLogConfig != null) {
accessLog = this.vAccessLogConfig
@@ -96,6 +97,16 @@ Vue.component("http-access-log-config-box", {
</div>
</td>
</tr>
<tr>
<td>记录客户端中断日志</td>
<td>
<div class="ui checkbox">
<input type="checkbox" v-model="accessLog.enableClientClosed"/>
<label></label>
</div>
<p class="comment">以<code-label>499</code-label>的状态码记录客户端主动中断日志。</p>
</td>
</tr>
</tbody>
</table>