vi /etc/apache2/sites-available/zammad
<VirtualHost *:80>
ServerName zammad.example.com
ServerAdmin yourmail@example.com
SuexecUserGroup "zammad" "zammad"
## don't loose time with IP address lookups
HostnameLookups Off
## needed for named virtual hosts
UseCanonicalName Off
## configures the footer on server-generated documents
ServerSignature Off
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from localhost
</Proxy>
ProxyPass /assets !
ProxyPass /favicon.ico !
ProxyPass /robots.txt !
ProxyPass / http://localhost:3000/
DocumentRoot "/var/www/zammad/public"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/zammad/public">
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
rm /etc/apache2/sites-enabled/000-default
ln -s /etc/apache2/sites-available/zammad /etc/apache2/sites-enabled/zammad
ln -s /etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/proxy.conf
ln -s /etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled/proxy.load
ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/proxy_http.load
ln -s /etc/apache2/mods-available/suexec.load /etc/apache2/mods-enabled/suexec.load
service apache2 restart