Last active
December 6, 2016 10:47
-
-
Save lucalbert/6a74807a4c8fff00fbdb7ba6825074ee to your computer and use it in GitHub Desktop.
Apache Vhost example config for use PHP7-FPM
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 webmaster@localhost | |
ServerName example.tld | |
ServerAlias www.example.tld | |
<FilesMatch \.php$> | |
SetHandler proxy:unix:/run/php/php7.0-fpm.sock|fcgi://127.0.0.1:9001 | |
</FilesMatch> | |
DocumentRoot /var/www/html/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment