Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save armyofda12mnkeys/338ffe585ce994e4f1c5d70c0e5bee3b to your computer and use it in GitHub Desktop.
Save armyofda12mnkeys/338ffe585ce994e4f1c5d70c0e5bee3b to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
DocumentRoot /var/www/html/my_cms/public
<Directory "/var/www/html/my_cms/public">
AllowOverride all
Options Indexes FollowSymLinks
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerName localhost-docker-mycms.com
<Proxy *>
Allow from localhost
</Proxy>
ProxyPreserveHost On
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment