Skip to content

Instantly share code, notes, and snippets.

@daltonnyx
Created May 18, 2017 07:08
Show Gist options
  • Save daltonnyx/369b3dd015aa41b6d95b78de6adb065d to your computer and use it in GitHub Desktop.
Save daltonnyx/369b3dd015aa41b6d95b78de6adb065d to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName myproject.192.168.33.10.xip.io
DocumentRoot /var/www/myproject/public
<Directory /var/www/myproject/public>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/myproject-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/myproject-access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment