By default, Alfresco or any other Tomcat application will run on HTTP port 8080. Because of this, users would need to go to, for example, http://alfresco:8080/share to reach the Alfresco Share website.
We can make this easier by configuring Apache proxy_ajp which will redirect port 80 to Tomcat and will make the "/share" path optional.
Install Apache and enable the necessary modules:
apt-get install apache2
a2enmod proxy_ajp rewrite
Create a virtualhost configuration file at /etc/apache2/sites-available/alfresco-reverse-proxy with the following content: