I setup a new Vhost for jenkins:
<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>
...which uses proxy and when i restart apache I get error like this:
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration
You should enable proxy. Run a command:
sudo a2enmod proxy sudo /etc/init.d/apache2 restart
proxy module must be disable. Enable it using below command
a2enmod proxy
If you don't have access to root, you can use
sudo a2enmod proxy
After that restart apache server using
service apache2 reload
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With