搜索

此内容没有您所选择的语言版本。

16.4. Using an HTTP Proxy with a Git Cluster

download PDF
Using fabric's built-in Git cluster, all nodes communicate directly with each other over HTTP. If you need to secure this communication, you can configure an HTTP proxy by configuring the GitProxyService.
  1. Start up JBoss Fuse, and create a fabric. For details, see the section called “Steps to create the fabric”.
  2. At the JBossFuse:karaf@root> command line, type:
    profile-edit --pid io.fabric8.git.proxy/proxyHost=serverName default                          
    profile-edit --pid io.fabric8.git.proxy/proxyPort=portNumber default
    These commands specify the hostname and port to use, and the default profile is updated with the new configuration.
    For example:
    profile-edit --pid io.fabric8.git.proxy/proxyHost=10.8.50.60 default                          
    profile-edit --pid io.fabric8.git.proxy/proxyPort=3128 default
    All changes made to the fabric configuration will now be redirected to the Git HTTP proxy on host 10.8.50.60's port 3128.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.