location / {
    try_files $uri  = 404;
}

location ~ \.php$ {
    fastcgi_pass unix:/tmp/.{{ projectname }}-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param HTTPS off;
}

location / {
    try_files $uri  = 404;
}

location ~ \.php$ {
    fastcgi_pass unix:/tmp/.{{ projectname }}-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    fastcgi_param DOCUMENT_ROOT $realpath_root;
    fastcgi_param HTTPS off;
}

Fix php5.5 opcode cache invalidation bug
Fix php5.5 opcode cache invalidation bug
