ベストアンサー
 
								
								
									
                                                                        0
									
									
										
										
											
										
										
										
												      	
									
								
							iQi - 面白いアプリを開発中
												下記のリンクにて「ngx_cache_purge-2.1」をDownload
http://labs.frickle.com/files/ ... ar.gz
Nginx再インストール
Example configuration:
											
																						
																					http://labs.frickle.com/files/ ... ar.gz
Nginx再インストール
./configure --without-http_empty_gif_module --with-poll_module --with-http_stub_status_module --with-http_ssl_module --with-ipv6 --add-module=../ngx_cache_purge-2.1
make
make install
※LNMPでインストールする場合、upgrade_nginx.shに「--add-module=../ngx_cache_purge-2.1」を追加してから「./upgrade_nginx.sh」実行してください。
/usr/local/nginx/sbin/nginx -s reload
Example configuration:
proxy_cache_path   /tmp/cache   keys_zone=tmpcache:10m;
location / {
proxy_pass      http://127.0.0.1:8000;
proxy_cache     tmpcache;
proxy_cache_key     $uri$is_args$args;
proxy_cache_purge   PURGE from 127.0.0.1;
}
											