Forum Discussion
HumanSky_193882
Nimbostratus
Mar 24, 2015Routing git traffic
Is this possible to route git traffic with F5 to GitHub or BitBucket? I currently have a self-hosted git server, git.example.com, and we want to move everything over to Bitbucket, but I don't want to...
Brad_Parker
Cirrus
Mar 24, 2015You could try using an iRule that will re-write your git.example.com/uri URIs to their corresponding BitBucket URIs and forward the traffic onto pool members that are Bitbucket IPs. I would definitely test this before directing your developer traffic to it. i.e.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "git.example.com"} {
HTTP::host bitbucket.org
HTTP::uri /newpath[HTTP::uri]
}
}
HumanSky_193882
Nimbostratus
Mar 24, 2015How would this be handled, say for example, if the local git repo is "git@git.example.com:drupal/site/foo" and the corresponding Bitbucket repo is "git@bitbucket.org:drupal_site_foo"? This is all through SSH (port 22).
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
