diff xml/ru/docs/http/ngx_http_proxy_module.xml @ 1005:2275611970dd

Removed open_file_cache_errors from proxy_store examples. The open_file_cache_errors directive is mostly unrelated and off by default, there is no real need to have it in examples.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 22 Oct 2013 17:37:46 +0400
parents a59aba3d4b67
children 2d8269d8fea8
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml
+++ b/xml/ru/docs/http/ngx_http_proxy_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_proxy_module"
         link="/ru/docs/http/ngx_http_proxy_module.html"
         lang="ru"
-        rev="14">
+        rev="15">
 
 <section id="summary">
 
@@ -1458,20 +1458,19 @@ proxy_store /data/www$original_uri;
 неизменяемых файлов, например, так:
 <example>
 location /images/ {
-    root                   /data/www;
-    open_file_cache_errors off;
-    error_page             404 = /fetch$uri;
+    root               /data/www;
+    error_page         404 = /fetch$uri;
 }
 
 location /fetch/ {
     internal;
 
-    proxy_pass             http://backend/;
-    proxy_store            on;
-    proxy_store_access     user:rw group:rw all:r;
-    proxy_temp_path        /data/temp;
+    proxy_pass         http://backend/;
+    proxy_store        on;
+    proxy_store_access user:rw group:rw all:r;
+    proxy_temp_path    /data/temp;
 
-    alias                  /data/www/;
+    alias              /data/www/;
 }
 </example>
 </para>