Apache2 - Configure reverse proxy

Configuration of a reverse proxy in Apache2. You can then host an application or server that is running on a certain port. This is added in a vhost.
1. Install the Apache2 modules

a2enmod proxy
a2enmod proxy_http

2. Add this to a vhost of your domain where you want to run the reverse proxy

ProxyPass /
ProxyPassReverse /

#All options for your proxy. You can also add an http auth
Require all granted
Options none