Skip to content

Instantly share code, notes, and snippets.

@lifesign
Created November 4, 2014 03:11
Show Gist options
  • Save lifesign/7b7d08f8de4423000958 to your computer and use it in GitHub Desktop.
Save lifesign/7b7d08f8de4423000958 to your computer and use it in GitHub Desktop.
nginx_php
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