Skip to content

Instantly share code, notes, and snippets.

@Wicaeed
Created June 8, 2018 20:39
Show Gist options
  • Save Wicaeed/23c9d5d0992927afd705f568fc8bffcc to your computer and use it in GitHub Desktop.
Save Wicaeed/23c9d5d0992927afd705f568fc8bffcc to your computer and use it in GitHub Desktop.
F5 VIP w/HTTPS redirect
ltm virtual PROD-gitlab.corp.local-HTTP-redir {
destination 10.23.216.10:http
ip-protocol tcp
mask 255.255.255.255
profiles {
http { }
tcp { }
}
rules {
_sys_https_redirect
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 276
}
ltm virtual PROD-gitlab.corp.local-HTTPS {
destination 10.23.216.10:https
ip-protocol tcp
mask 255.255.255.255
persist {
cookie {
default yes
}
}
pool PROD-gitlab.corp.local_HTTP
profiles {
Wildcard_Profile-SSL {
context clientside
}
http { }
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 277
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment