【发布时间】:2016-10-17 04:42:04
【问题描述】:
我不知道为什么 Jenkins 更新到版本 1.642.4 (Ubuntu Server 15.04) 后,原来正确设置的反向代理现在坏了。我当前的设置与 Jenkins wiki 中所说的完全相同:
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:9090/ nocanon
ProxyPassReverse / http://localhost:9090/
AllowEncodedSlashes NoDecode
# Local reverse proxy authorization override
# Most unix distribution deny proxy by default (ie /etc/apache2/mods-enable$
<Proxy http://localhost:9090/*>
Order deny,allow
Allow from all
</Proxy>
【问题讨论】:
-
已解决。在 Jenkins 位置设置中添加了正确的 URL
-
怎么样? url 的预期形式是什么?
-
Manage Jenkins>Configure System> 找到Jenkins Location,有输入Jenkins URL。请添加网址。我添加了http://jenkins.subdomain.com/,与我在浏览器中使用的相同
标签: jenkins reverse-proxy