简体   繁体   English

通过apache远程访问Jenkins

[英]Access Jenkins remotely through apache

I am just trying to set up my Jenkins URL so that I can access it from another machine. 我只是想设置我的Jenkins URL,以便可以从另一台计算机访问它。 I don't really know what I'm doing. 我真的不知道我在做什么。 I tried following several tutorials and haven't gotten it to work yet. 我尝试了以下几个教程,但还没有开始工作。 Here is what I have in my Jenkins.conf file located at /etc/apache2/sites-available 这是我在/ 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>

Any input would be greatly appreciated! 任何投入将不胜感激!

You missed the space 你错过了空间

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

Also you missed character here: 您也错过了这里的角色:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM