【问题标题】:Access Jenkins remotely through apache通过apache远程访问Jenkins
【发布时间】:2015-03-29 17:03:42
【问题描述】:

我只是想设置我的 Jenkins URL,以便我可以从另一台机器访问它。我真的不知道我在做什么。我尝试了几个教程,但还没有开始工作。这是我位于 /etc/apache2/sites-available 的 Jenkins.conf 文件中的内容

<VirtualHost *:80>
  <Proxy *>
     Order deny,allow
     Allow from all
  </Proxy>
  ProxyPreseveHost on
  ProxyPass /http://24.117.132.56:8080/ nocanon
  AllowEncodedSlashes NoDecode
</VirtualHost>

任何意见将不胜感激!

【问题讨论】:

    标签: apache url jenkins configure accessible


    【解决方案1】:

    你错过了空间

    ProxyPass /http://24.117.132.56:8080/  # <-- wrong
    ProxyPass / http://24.117.132.56:8080/ # <-- correct
    

    你也错过了这里的角色:

    ProxyPreseveHost on  # <-- wrong
    ProxyPreserveHost on # <-- correct
    

    【讨论】:

      猜你喜欢
      • 2014-02-27
      • 2015-06-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-05
      • 1970-01-01
      • 2012-06-26
      • 2012-11-09
      相关资源
      最近更新 更多