-
-
Save nwaweru/77e15d7bd04a88fdfb050eb9fb368058 to your computer and use it in GitHub Desktop.
For Adding virtual hosts file for Laravel projects
This file contains 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> | |
ServerAdmin [email protected] | |
ServerName server.in | |
ServerAlias server.in | |
<Directory /var/www/html/project/public> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> | |
DocumentRoot /var/www/html/project/public/ | |
ErrorLog /var/www/html/project/error.log | |
CustomLog /var/www/html/project/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment