Skip to content

Instantly share code, notes, and snippets.

@jak
Created April 24, 2012 21:23
Show Gist options
  • Save jak/2483923 to your computer and use it in GitHub Desktop.
Save jak/2483923 to your computer and use it in GitHub Desktop.
kohana php-fpm and nginx
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /index.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment