Всем, привет!
Когда делаю редирект:
rewrite ^ http://domain.com/something/ permanent;
В ответе вижу:
HTTP/1.1 301 Moved Permanently
Server: nginx/0.7.64
Date: Wed, 02 Dec 2009 11:28:43 GMT
Content-Type: text/html
Content-Length: 185
Connection: close
Location: http://domain.com/something/
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/0.7.64</center>
</body>
</html>
Как заменить стандартное тело ответа другим (статически из файла на пример).
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru