7,166
edits
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
hitch. | varnish の起動オプションに追加 | ||
<syntaxhighlight lang="text" enclose="div"> | |||
-p feature=+http2 -p thread_pools=2 -p thread_pool_min=450 -p thread_pool_max=5000 -p syslog_cli_traffic=off -t 120 | |||
</syntaxhighlight> | |||
hitch.confに追加 | |||
<syntaxhighlight lang="conf" enclose="div"> | <syntaxhighlight lang="conf" enclose="div"> | ||
alpn-protos = "http/2, http/1.1" | alpn-protos = "http/2, http/1.1" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*https 化 | *https 化 | ||
Line 79: | Line 83: | ||
https://github.com/varnish/hitch/wiki/FAQ | https://github.com/varnish/hitch/wiki/FAQ | ||
https://varnish-cache.org/trac/wiki/VCLExampleRedirectInVCL | https://varnish-cache.org/trac/wiki/VCLExampleRedirectInVCL | ||
コンテンツ側の対処 | コンテンツ側の対処 | ||
https://www.mediawiki.org/wiki/Manual:$wgServer | https://www.mediawiki.org/wiki/Manual:$wgServer | ||
https://ja.wordpress.org/plugins/really-simple-ssl/ | https://ja.wordpress.org/plugins/really-simple-ssl/ | ||
'''varnish h2 が安定したら HTTP/2 にする''' | '''varnish h2 が安定したら HTTP/2 にする''' |