拦截策略新增allow_http2
This commit is contained in:
@@ -837,6 +837,20 @@ legend{padding:.5em;border:0;width:auto;font-family: "Open Sans", sans-serif;col
|
||||
<div for="mirror_client"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 ssl_version <c:if test="${_cfg.userRegion.ssl_ver.mirror_client eq 1}">hidden</c:if>"">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3">
|
||||
<spring:message code="allow_http2" />
|
||||
</label>
|
||||
<div class="col-md-6">
|
||||
<div class="bootstrap-switch">
|
||||
<input type="checkbox" id="allow_http2" name="allow_http2" class="switch form-control sslVersionCheck"
|
||||
value="${_cfg.cfgId eq null?1:_cfg.userRegion.ssl_ver.allow_http2 }" <c:if test="${_cfg.cfgId eq null or _cfg.userRegion.ssl_ver.allow_http2 eq 1}">checked</c:if>/>
|
||||
</div>
|
||||
</div>
|
||||
<div for="allow_http2"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row ssl_version <c:if test="${_cfg.userRegion.ssl_ver.mirror_client eq 1}">hidden</c:if>">
|
||||
<div class="col-md-6">
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
}
|
||||
});
|
||||
$(obj).parent().find("td[data-column='mirror_client']").text(jsonObj.ssl_ver.mirror_client==1?"<spring:message code='yes'/>":"<spring:message code='no'/>");
|
||||
$(obj).parent().find("td[data-column='allow_http2']").text(jsonObj.ssl_ver.allow_http2==1?"<spring:message code='yes'/>":"<spring:message code='no'/>");
|
||||
$(obj).parent().find("td[data-column='enable']").text(jsonObj.decrypt_mirror.enable==1?"<spring:message code='yes'/>":"<spring:message code='no'/>");
|
||||
$(obj).parent().find("td[data-column='mirror_profile']").text(jsonObj.decrypt_mirror.mirror_profile);
|
||||
if(jsonObj.decrypt_mirror.mirror_profile){
|
||||
@@ -468,6 +469,7 @@
|
||||
<th column="ssl_ver_min" ><spring:message code="ssl_ver_min"/></th>
|
||||
<th column="ssl_ver_max" ><spring:message code="ssl_ver_max"/></th>
|
||||
<th column="ssl_ver_mirror_client" ><spring:message code="ssl_ver_mirror_client"/></th>
|
||||
<th column="ssl_ver_allow_http2" ><spring:message code="ssl_ver_allow_http2"/></th>
|
||||
<th column="decrypt_mirror_enable" ><spring:message code="decrypt_mirror_enable"/></th>
|
||||
<th column="decrypt_mirror_mirror_profile" ><spring:message code="decrypt_mirror_mirror_profile"/></th>
|
||||
</c:if>
|
||||
@@ -572,6 +574,7 @@
|
||||
<td data-column="min" ></td>
|
||||
<td data-column="max" ></td>
|
||||
<td data-column="mirror_client" ></td>
|
||||
<td data-column="allow_http2" ></td>
|
||||
<td data-column="enable" ></td>
|
||||
<td data-column="mirror_profile" ></td>
|
||||
</c:if>
|
||||
|
||||
Reference in New Issue
Block a user