Balasubramaniy2
Aug 29, 2018Nimbostratus
F5 migration from HA proxy
Following settings need to migrated to F5 LTM from HA proxy. kindly help to achieve the same settings in F5.
- Custom Error page (HTML file) --> when following Error response getting from server 400,403,408,500,502,503,503
- Block --> stick-table type ip size 100k expire 30s store conn_rate(3s). if tcp-request from white list IP then accept the request.
- http-response add-header X-App-Server %b/%s acl secured_cookie res.hdr(Set-Cookie),lower -m sub secure rspadd Strict-Transport-Security:\ max-age=31536000;\ includeSubDomains;\ preload rsprep ^Set-Cookie:\ (.*) Set-Cookie:\ \1;\ Secure if !secured_cookie
- Main URL : acl is_admin path_beg /apanel acl is_admin path_beg /administration acl is_admin path_beg /wp-admin --> if above path request comes: then the request send to particular node
- acl restricted_page path_beg,url_dec -i /user.php --> allow this path only for whitlist IP's
- acl htaccess_redirect path_beg,url_dec -i /.htacces --> redirect to 404 page
- acl file_robot path_beg -i /robots.txt --> redirect to home page