Created
November 4, 2014 03:11
-
-
Save lifesign/7b7d08f8de4423000958 to your computer and use it in GitHub Desktop.
nginx_php
This file contains hidden or 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
upstream php { | |
server unix:/tmp/php-fpm.socket; | |
} | |
location ~ \.php$ { | |
include fastcgi.conf; | |
fastcgi_pass php; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment