Skip to content

Instantly share code, notes, and snippets.

@diwakergupta
Created January 20, 2016 04:56
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 diwakergupta/e1672f9979de01be289f to your computer and use it in GitHub Desktop.
Save diwakergupta/e1672f9979de01be289f to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName example.com
DocumentRoot /home/diwaker/example.com
<Directory /home/diwaker/example.com>
Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
Require all granted
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://localhost/"
</FilesMatch>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment