Skip to content

Instantly share code, notes, and snippets.

@merk
Created February 1, 2012 02:28
Show Gist options
  • Save merk/1714678 to your computer and use it in GitHub Desktop.
Save merk/1714678 to your computer and use it in GitHub Desktop.
server {
listen 80 default_server;
server_name .localhost;
charset utf-8;
root /Users/tim/Sites/$host/web;
try_files $uri $uri/ /app_dev.php?$args;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass php;
fastcgi_index app_dev.php;
include fastcgi.conf;
fastcgi_param ENVIRONMENT 'development';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment