http replace 增加zone和regex的userregion参数

This commit is contained in:
duandongmei
2018-07-04 11:13:27 +08:00
parent 17c17076e6
commit 1bc284243f
4 changed files with 26 additions and 3 deletions

View File

@@ -389,6 +389,14 @@ public final class Constants {
public static final String USER_REGION_SPLIT = Configurations.getStringProperty("user_region_split", ";");
//用户自定义域占位符
public static final String USER_REGION_PLACEHOLDER = Configurations.getStringProperty("user_region_placeholder", ";;");
//HTTP REPLACE USER_REGION ZONE KEY
public static final String REPLACE_TYPE_KEY = Configurations.getStringProperty("userregion_replace_type_key", "zone");
//HTTP REPLACE USER_REGION ZONE REQ KEY VALUE
public static final String REPLACE_REQ_KEY_VALUE = Configurations.getStringProperty("userregion_replace_req_key_value", "http_req_replace_body");
//HTTP REPLACE USER_REGION ZONE RES KEY VALUE
public static final String REPLACE_RES_KEY_VALUE = Configurations.getStringProperty("userregion_replace_res_key_value", "http_res_replace_body");
//HTTP REPLACE USER_REGION REGEX KEY
public static final String REPLACE_REGEX_KEY = Configurations.getStringProperty("userregion_replace_regex_key", "regex");
//HTTP重定向配置域
public static final String HTTP_REDIRECT_URL_REGION = Configurations.getStringProperty("http_redirect_url_region","PXY_CTRL_HTTP_URL");