配置流程

#第一下GateWay Services:
    name: zs.jxfte.com    
    tags: 备注
    Full URL-> Upstream URL: http://zs.jxfte.com/


#第二步:Routes
    name: zs.jxfte.com
    tags: 备注
    Protocols: http,https
    Paths: /
    Hosts: www.xxx.com
    Strip Path: 取消
    Preserve Host: 选中

# 第三步: Upstreams
    name: zs.jxfte.com
    Tagets: 
        Target Address: 172.16.122.80:20080

#第四步: SNIs:
    name: zs.jxfte.com
    tags: 备注
    SSL Certificate ID: feeexxxxxx

参数说明

#True时
http://aaa.myedu.com:8000/domain/index
http://IP:/index
  • Request Buffering(请求缓冲)

  • Response Buffering (输出缓冲)

301跳转配置方法

#Routes下修改配置
Protocols 仅支持 https,取消支持 http
Https redirect status code 设置为 301