Created
May 28, 2012 23:04
-
-
Save hisapy/2821567 to your computer and use it in GitHub Desktop.
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
location ~ \.php$ { | |
try_files $uri =404; | |
fastcgi_index index.php; | |
# fastcgi_pass 127.0.0.1:9000; | |
# fastcgi_pass unix:/var/run/php5-fpm.sock; | |
fastcgi_pass php; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
} | |
upstream php { | |
server unix:/var/run/php5-fpm.sock; | |
# server 127.0.0.1:9000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment