Setup apache2 proxy

From AcrodusWiki

Example of how to setup apache2 config

This is an example of the config for Vikunjer apache2 proxy. Vikunjer listens on port 3456, to access this without specifying the port the following config file was added.

/etc/apache2/sites-enabled/vikunja.conf

<virtualHost *:80>
ServerName task.acrodus.uk
ServerAlias www.task.acrodus.uk
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://localhost:3456/
ProxyPassReverse / http://localhost:3456/

Also had to enable the proxy modules for apache 2 which can be done from the command line with the following command

a2enmod proxy & a2enmod proxy_http