Last active
November 28, 2017 23:14
-
-
Save zukka77/9d2e33784aeb58bb332e4b67bdd33a44 to your computer and use it in GitHub Desktop.
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
#IP | |
<FilesMatch "\.php$"> | |
SetHandler "proxy:fcgi://localhost:9000" | |
</FilesMatch> | |
DirectoryIndex index.html index.php | |
#UNIX SOCKET | |
<FilesMatch "\.php$"> | |
SetHandler "proxy:unix:/var/run/php-fpm/php-fpm.sock|fcgi://localhost/" | |
</FilesMatch> | |
<Proxy "fcgi://localhost/" enablereuse=on max=10> | |
</Proxy> | |
DirectoryIndex index.html index.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment