最佳答案
我给 Jenkins 安装了一个新的 Vhost:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName ci.company.com
ServerAlias ci
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://localhost:8080/
</VirtualHost>
... 它使用代理服务器,当我重新启动 apache 时,我得到这样的错误:
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration