Skip to content

Instantly share code, notes, and snippets.

@lokingdav
Forked from bvipul/virtualHost.conf
Created December 24, 2020 13:20
Show Gist options
  • Select an option

  • Save lokingdav/4d5229d03e16ee54b5fb772d7d93dd9a to your computer and use it in GitHub Desktop.

Select an option

Save lokingdav/4d5229d03e16ee54b5fb772d7d93dd9a to your computer and use it in GitHub Desktop.

Revisions

  1. @bvipul bvipul revised this gist Mar 23, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion virtualHost.conf
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    ServerAdmin [email protected]
    ServerName server.in
    ServerAlias server.in
    <Directory /var/www/html/[project]/public>
    <Directory /var/www/html/project/public>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
  2. @bvipul bvipul created this gist Oct 9, 2017.
    13 changes: 13 additions & 0 deletions virtualHost.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    <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>