location ~ /files* {
error_page 404 http://server2/.....;
root /var/www/static/images;
}
In the following example,
location / {
try_files $uri $uri/ @drupal;
}
the try_files directive is equivalent to
location / {
error_page 404 = @drupal;
log_not_found off;
}
/usr/bin/php /var/www/second.php $(/usr/bin/curl - o 2>&1 /dev/null "sitename.ru/first.php")