提交 f45fa08e authored 作者: Chris Rienzo's avatar Chris Rienzo

mod_http_cache: add support for http/https formats if enable-file-formats is set…

mod_http_cache: add support for http/https formats if enable-file-formats is set to true in http_cache.conf. Don't load mod_httapi if you use this option
上级 f05b4933
<configuration name="http_cache.conf" description="HTTP GET cache"> <configuration name="http_cache.conf" description="HTTP GET cache">
<settings> <settings>
<!-- set to true if you want to enable http:// and https:// formats. Do not use if mod_httapi is also loaded -->
<param name="enable-file-formats" value="false"/>
<param name="max-urls" value="10000"/> <param name="max-urls" value="10000"/>
<param name="location" value="$${base_dir}/http_cache"/> <param name="location" value="$${base_dir}/http_cache"/>
<param name="default-max-age" value="86400"/> <param name="default-max-age" value="86400"/>
<param name="prefetch-thread-count" value="8"/> <param name="prefetch-thread-count" value="8"/>
<param name="prefetch-queue-size" value="100"/> <param name="prefetch-queue-size" value="100"/>
<!-- absolute path to CA bundle file -->
<param name="ssl-cacert" value="$${base_dir}/conf/cacert.pem"/>
<!-- verify certificates -->
<param name="ssl-verifypeer" value="true"/>
<!-- verify host name matches certificate -->
<param name="ssl-verifyhost" value="true"/>
</settings> </settings>
</configuration> </configuration>
<configuration name="http_cache.conf" description="HTTP GET cache"> <configuration name="http_cache.conf" description="HTTP GET cache">
<settings> <settings>
<!-- set to true if you want to enable http:// and https:// formats. Do not use if mod_httapi is also loaded -->
<param name="enable-file-formats" value="false"/>
<param name="max-urls" value="10000"/> <param name="max-urls" value="10000"/>
<param name="location" value="$${base_dir}/http_cache"/> <param name="location" value="$${base_dir}/http_cache"/>
<param name="default-max-age" value="86400"/> <param name="default-max-age" value="86400"/>
...@@ -8,4 +10,3 @@ ...@@ -8,4 +10,3 @@
<param name="ssl-verifypeer" value="true"/> <param name="ssl-verifypeer" value="true"/>
</settings> </settings>
</configuration> </configuration>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论