Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (19 sloc) 471 Bytes
server
{
listen 127.0.0.1:8080;
server_name localhost.ayvawards.adobe.com;
root /usr/local/sites/ayv-awards;
index index.php index.html;
if (!-e $request_filename)
{
rewrite ^(.*)-([0-9]+)\.(css|js|png|swf|xml)$ $1.$3 break;
}
error_page 404 /error/notfound.php;
location ~ \.php$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
include fastcgi_params;
}
}