# coding=utf-8
import sys

# ############## Local Domain Settings ##############
my_host_name = 'mf.yq10000.cn'  #'okfw.net'
my_host_scheme = 'http://'

my_host_port = 10000  # None????????, ??????????, ?? 81
# built_in_server_extra_params={}	

if sys.platform=='win32':my_host_port+=1


# ############## Target Domain Settings ##############
target_domain =  '0731.mfyq.com.cn'
target_scheme = 'http://'
# target_domain =  'www.yqt365.com'  #'0731.mfyq.com.cn'
# target_scheme = 'https://'


external_domains = [
   "0731.mfyq.com.cn",
]

enable_automatic_domains_whitelist = True
domains_whitelist_auto_add_glob_list = ()



# ############## Proxy Settings ##############
# ?????????????, ????????http??
is_use_proxy = False
# ??????SOCKS??, ?? http://docs.python-requests.org/en/latest/user/advanced/#proxies
requests_proxies = dict(
    http='http://127.0.0.1:8123',
    https='https://127.0.0.1:8123',
)

developer_temporary_disable_ssrf_prevention = True

# # human_ip_verification_enabled = True
# # must_verify_cookies = True
# # human_ip_verification_questions = (
# # ('请输入密码：', 'RunK#2018', '区分大小写'),
# # )
# # human_ip_verification_identity_record = ()


custom_text_rewriter_enable=True
# ############## URL Custom Redirect ##############
url_custom_redirect_enable = True
url_custom_redirect_list = {
    # 这是一个方便的设置, 如果你访问 /wiki ,程序会自动重定向到后面这个长长的wiki首页
    # '/goMain.action': '/index.action',
    # '/yqMonitor': '/index.action',
}
###################################################
ipLocationList=['192.168.','127.0.0.1',
    '湖南','云南','海南',]
