F5配置http请求自动跳转https到后端服务器
关联irules _sys_https_redirect实现跳转
# HTTP_to_HTTPS_iRule自定义
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
# Factory F5 https redirect iRule官方定义
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
https://my.f5.com/manage/s/article/K10090418
1.创建POOL
- 创建vs http
- 创建vs https