Kouhei Sutou
null+****@clear*****
Fri Sep 27 11:38:36 JST 2013
Kouhei Sutou 2013-09-27 11:38:36 +0900 (Fri, 27 Sep 2013) New Revision: 6fa6b0e911203637fb63f855fd90e6d985f5870a https://github.com/groonga/groonga/commit/6fa6b0e911203637fb63f855fd90e6d985f5870a Message: doc: reduce too much indent Modified files: doc/source/reference/executables/groonga-httpd.txt Modified: doc/source/reference/executables/groonga-httpd.txt (+32 -32) =================================================================== --- doc/source/reference/executables/groonga-httpd.txt 2013-09-27 11:35:42 +0900 (3878594) +++ doc/source/reference/executables/groonga-httpd.txt 2013-09-27 11:38:36 +0900 (2a4815a) @@ -367,38 +367,38 @@ change cache configuration dynamically by HTTP. Here is a sample configuration:: - ... - http { - proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m; - proxy_cache_valid 10m; - ... - # Reverse proxy and cache - server { - listen 10041; - ... - # Only select command - location /d/select { - # Pass through groonga with cache - proxy_cache groonga; - proxy_pass http://localhost:20041; - } - - location / { - # Pass through groonga - proxy_pass http://localhost:20041; - } - } - - # groonga - server { - location 20041; - location /d/ { - groonga on; - groonga_database /var/lib/groonga/db/db; - } - } - ... - } + ... + http { + proxy_cache_path /var/cache/groonga-httpd levels=1:2 keys_zone=groonga:10m; + proxy_cache_valid 10m; + ... + # Reverse proxy and cache + server { + listen 10041; + ... + # Only select command + location /d/select { + # Pass through groonga with cache + proxy_cache groonga; + proxy_pass http://localhost:20041; + } + + location / { + # Pass through groonga + proxy_pass http://localhost:20041; + } + } + + # groonga + server { + location 20041; + location /d/ { + groonga on; + groonga_database /var/lib/groonga/db/db; + } + } + ... + } See the following nginx documentations for parameter details: -------------- next part -------------- HTML����������������������������... 下载