2015-10-02 9 views
1

我使用Windows Installer在Windows PC上安装了Jenkins。它在localhost:8080中成功运行,但我想在localhost/jenkins或jenkins.localhost中运行。我尝试将以下虚拟主机添加到我的http-vhost.conf中,但它不起作用。将Apache配置为在localhost/jenkins而不是localhost上运行Jenkins:8080

<VirtualHost *:8080> 
    ServerName jenkins.localhost 
    ServerAlias jenkins.localhost 
    ProxyPass/http://localhost:8080/ 
    ProxyPassReverse/http://localhost:8080/ 
</VirtualHost> 

我在做什么错?

回答

0

我做了一个虚拟主机,并将其路由到那里,并解决了这个问题。

相关问题