Created
April 10, 2016 10:56
-
-
Save addingama/926dd70f660581e0e65f587515511215 to your computer and use it in GitHub Desktop.
Sample vhost for laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName domain.com | |
ServerAlias domain.com | |
ServerAdmin [email protected] | |
DocumentRoot /home/deploy/domain-dir/public | |
<Directory /home/deploy/domain-dir/public> | |
Options Indexes FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
Require all granted | |
Allow from all | |
</Directory> | |
LogLevel warn | |
ErrorLog ${APACHE_LOG_DIR}/domain-error.log | |
CustomLog ${APACHE_LOG_DIR}/domain-access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment