Mercurial > hg > nginx-site
changeset 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 | 13209fa58a15 |
children | 570598ae1fd6 |
files | xml/en/docs/http/ngx_http_fastcgi_module.xml xml/en/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_fastcgi_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml |
diffstat | 4 files changed, 22 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_fastcgi_module.xml Mon Oct 21 11:37:37 2013 +0000 +++ b/xml/en/docs/http/ngx_http_fastcgi_module.xml Tue Oct 22 17:37:46 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_fastcgi_module" link="/en/docs/http/ngx_http_fastcgi_module.html" lang="en" - rev="10"> + rev="11"> <section id="summary"> @@ -1046,9 +1046,8 @@ files, e.g.: <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/ {
--- a/xml/en/docs/http/ngx_http_proxy_module.xml Mon Oct 21 11:37:37 2013 +0000 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Tue Oct 22 17:37:46 2013 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="14"> + rev="15"> <section id="summary"> @@ -1463,20 +1463,19 @@ files, e.g.: <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>
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Mon Oct 21 11:37:37 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Oct 22 17:37:46 2013 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_fastcgi_module" link="/ru/docs/http/ngx_http_fastcgi_module.html" lang="ru" - rev="10"> + rev="11"> <section id="summary"> @@ -1037,9 +1037,8 @@ неизменяемых файлов, например, так: <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/ {
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml Mon Oct 21 11:37:37 2013 +0000 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Oct 22 17:37:46 2013 +0400 @@ -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 @@ неизменяемых файлов, например, так: <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>