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>
我在做什麼錯?