I am making a proxy server using docker as done in this tutorial. When I try and reload apache I get this error on line 4 and I'm not sure what it is from. Here is a copy of my vhost file.
<VirtualHost *:80>
DocumentRoot "/var/www/html/"
ServerName my.server.name
<Proxy *>
Allow from localhost
</Proxy>
ProxyPass / http://localhost:8080/
</VirtualHost>
I have also tried putting quotes around the asterisk on line 4 (as seen in apache documentation) <Proxy "*">
Can someone help show me my syntax error or explain to me what I am doing wrong here? I've been at this for 2 days.
Here is the tutorial I have been following: https://medium.com/@jmarhee/running-multiple-web-applications-on-a-docker-host-with-apache-85f673f02803
I found this question which seemed similar but not really what I needed.
Unable to start Apache2 with Error AH00526: Syntax error - Invalid command $
sudo a2enmod proxy proxy_http
and restart Apache. – pa4080 Nov 28 '17 at 16:06