Skip to content

Instantly share code, notes, and snippets.

@machour
Last active February 19, 2018 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save machour/8f0aedeed911928b4610860d43380cc3 to your computer and use it in GitHub Desktop.
Save machour/8f0aedeed911928b4610860d43380cc3 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
    Define SITE_BASE ${SERVER_BASE}/customer/example.com
    ServerName  example.com

    ProxyRequests Off
    ProxyPass / http://example.com/
    ProxyPassReverse / http://example.com/

    LogLevel warn
    ErrorLog  ${SITE_BASE}/logs/apache.error.log
    CustomLog ${SITE_BASE}/logs/apache.access.log vhost_combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment