2014/09/04 11:30:58 [error] 6050#0: *62794 open() "/etc/nginx/html/bitrix/tmp/success.txt" failed (2: No such file or directory)
HTTP/1.1 404 Not Found
Server: nginx/1.4.4
Date: Thu, 04 Sep 2014 07:06:37 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 4667
Connection: close
X-Powered-By: PHP/5.3.3-7+squeeze19
P3P: policyref="/bitrix/p3p.xml", CP="NON DSP COR CUR ADM DEV PSA PSD OUR UNR BUS UNI COM NAV INT DEM STA"
X-Powered-CMS: Bitrix Site Manager
Set-Cookie: PHPSESSID=poofуаа2lr3а6рuuуoihj298cphhukdr11; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Bitrix-Ajax-Status: Authorize
Vary: Accept-Encoding
header('X-Accel-Redirect: /bitrix/tmp/success.txt');
HTTP/1.1 200 OK
Date: Thu, 04 Sep 2014 06:29:16 GMT
Server: Apache/2.2.16
X-Powered-By: PHP/5.3.3-7+squeeze19
X-Accel-Redirect: /bitrix/tmp/success.txt
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html
Ну или более правильный способ — сделать макросы в шаблонизаторе на все случаи жизни, если ваш шаблонизатор это поддерживает.