2015-10-02 82 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

我做了一個虛擬主機,並將其路由到那裏,並解決了這個問題。

相關問題