<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:14px">Hello list,</div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"> I hava a nginx config problem , Please help look !<br>
I use proxy_cache and ssi.</div><div style="font-family:arial,sans-serif;font-size:14px"> </div><div style="font-family:arial,sans-serif;font-size:14px"><div><b>nginx config :</b></div><div><div>ssi on;</div><div>ssi_silent_errors on;</div>
<div>ssi_types text/shtml;</div></div><div><br></div><div><div>proxy_temp_path /cache/proxy_temp;</div><div>proxy_cache_path /cache/proxy_cache levels=1:2 keys_zone=tmp_cache:2000m inactive=10000d max_size=200G;<br></div>
<div>proxy_next_upstream error timeout invalid_header http_504 http_500 http_502 http_503;</div></div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px"><b>example:</b></div><div style="font-family:arial,sans-serif;font-size:14px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:14px"> <a href="http://x.com/1.shtml" target="_blank">http://x.com/1.shtml</a>:</div>
<div style="font-family:arial,sans-serif;font-size:14px"> <html></div><div style="font-family:arial,sans-serif;font-size:14px"> hello world1 !</div><div style="font-family:arial,sans-serif;font-size:14px">
<!--#include virtual="/include/foot.html"--></div><div style="font-family:arial,sans-serif;font-size:14px"> <\html></div><div style="font-family:arial,sans-serif;font-size:14px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:14px"> <a href="http://x.com/2.shtml" target="_blank">http://x.com/2.shtml</a>:</div><div style="font-family:arial,sans-serif;font-size:14px"><div> <html></div>
<div> hello world2 !</div><div> <!--#include virtual="/include/foot.html"--></div><div> <\html></div></div><div style="font-family:arial,sans-serif;font-size:14px"> .......</div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"> </div><div style="font-family:arial,sans-serif;font-size:14px"> <a href="http://x.com/include/foot.html" target="_blank">http://x.com/include/foot.html</a>:</div>
<div style="font-family:arial,sans-serif;font-size:14px"><div> <html></div><div> old, i am include info !</div><div> <\html></div></div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"><b>problem:</b></div><div style="font-family:arial,sans-serif;font-size:14px"><b><br></b></div>
<div style="font-family:arial,sans-serif;font-size:14px"> Edit this file: <a href="http://x.com/include/include/foot.html" target="_blank">http://x.com/include/include/foot.html</a></div><div style="font-family:arial,sans-serif;font-size:14px">
<div> <html></div><div> new, i am include info !</div><div> <\html></div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
I use ngx_cache_purge to clear the cache : <a href="http://x.com/include/include/foot.html" target="_blank">http://x.com/include/include/foot.html</a></div><div style="font-family:arial,sans-serif;font-size:14px"> </div>
<div style="font-family:arial,sans-serif;font-size:14px"> But do not take effect cache these pages : </div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
open <a href="http://x.com/1.shtml" target="_blank">http://x.com/1.shtml</a></div><div style="font-family:arial,sans-serif;font-size:14px"> the content is :</div><div style="font-family:arial,sans-serif;font-size:14px">
<div> <html></div><div> hello world1 !</div><div> old, i am include info !</div><div> <\html></div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
<div> open <a href="http://x.com/2.shtml" target="_blank">http://x.com/2.shtml</a></div><div> the content is :</div><div><div> <html></div><div> hello world2 !</div><div> old, i am include info !</div>
<div> <\html></div></div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
I have to clear the cache in order to take effect :</div><div style="font-family:arial,sans-serif;font-size:14px"> <a href="http://x.com/purge/1.shtml" target="_blank">http://x.com/purge/1.shtml</a></div><div style="font-family:arial,sans-serif;font-size:14px">
<a href="http://x.com/purge/2.shtml" target="_blank">http://x.com/purge/2.shtml</a><br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px"><div> open <a href="http://x.com/1.shtml" target="_blank">http://x.com/1.shtml</a></div><div> the content is :</div><div><div> <html></div>
<div> hello world1 !</div><div> new, i am include info !</div><div> <\html></div></div><div><br></div><div><div> open <a href="http://x.com/2.shtml" target="_blank">http://x.com/2.shtml</a></div>
<div> the content is :</div><div><div> <html></div><div> hello world2 !</div><div> new, i am include info !</div><div> <\html></div></div></div></div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">If I have a lot shtml files ,Must be more clear the cache.<br></div><div style="font-family:arial,sans-serif;font-size:14px">
<a href="http://x.com/purge/1.shtml" target="_blank">http://x.com/purge/1.shtml</a><br></div><div style="font-family:arial,sans-serif;font-size:14px"><a href="http://x.com/purge/2.shtml" target="_blank">http://x.com/purge/2.shtml</a><br>
</div><div style="font-family:arial,sans-serif;font-size:14px"><a href="http://x.com/purge/3.shtml" target="_blank">http://x.com/purge/3.shtml</a><br></div><div style="font-family:arial,sans-serif;font-size:14px;color:rgb(51,102,255);font-weight:bold">
<div style="color:rgb(34,34,34);font-weight:normal"><a href="http://x.com/purge/4.shtml" target="_blank">http://x.com/purge/4.shtml</a><br></div><div style="color:rgb(34,34,34);font-weight:normal"><a href="http://x.com/purge/5.shtml" target="_blank">http://x.com/purge/5.shtml</a><br>
</div><div style="color:rgb(34,34,34);font-weight:normal"><a href="http://x.com/purge/6.shtml" target="_blank">http://x.com/purge/6.shtml</a></div></div><div style="font-family:arial,sans-serif;font-size:14px">......</div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">I just need to clear a cache: <a href="http://x.com/purge/include/foot.html" target="_blank">http://x.com/purge/include/foot.html</a> , all SHTML pages to take effect.</div>
<div style="font-family:arial,sans-serif;font-size:14px">Is there a way to solve? </div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">Thanks in advance :)<br>
</div><div><br></div></div>