zlm http 配置

This commit is contained in:
shikong 2023-08-18 12:06:33 +08:00
parent adb70ec606
commit e348d87030
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,26 @@
package cn.skcks.docking.gb28181.media.dto.config;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@Data
public class HttpConfig {
@JsonProperty("allow_cross_domains")
private Integer allowCrossDomains;
@JsonProperty("allow_ip_range")
private String allowIpRange;
private String charSet;
private Integer dirMenu;
private String forbidCacheSuffix;
@JsonProperty("forwarded_ip_header")
private String forwardedIpHeader;
private String keepAliveSecond;
private Integer maxReqSize;
private String notFound;
private Integer port;
private String rootPath;
private Integer sendBufSize;
@JsonProperty("sslport")
private Integer sslPort;
private String virtualPath;
}

View File

@ -23,4 +23,7 @@ public class ServerConfig {
@JsonUnwrapped(prefix = "hook.")
private HookConfig hook;
@JsonUnwrapped(prefix = "http.")
private HttpConfig http;
}