Skip to content

Instantly share code, notes, and snippets.

@codatory
Created May 5, 2011 19:54
Show Gist options
  • Save codatory/957778 to your computer and use it in GitHub Desktop.
Save codatory/957778 to your computer and use it in GitHub Desktop.
if (-f $request_filename) {
break;
}
try_files $uri $uri/ @wordpress;
index index.html, index.php;
}
location @wordpress {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_param SCRIPT_NAME /index.php;
include fastcgi_params;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment