Linux Tips: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
* varnish が 404 のまま
<syntaxhighlight lang="c" enclose="div">
sub vcl_backend_response {
    # Don't cache 404 responses
    if ( beresp.status == 404 ) {
        set beresp.ttl = 3s;
    }
}
</syntaxhighlight>
*ubuntu 16.04 systemd 環境の varnish と logrotate
*ubuntu 16.04 systemd 環境の varnish と logrotate
<syntaxhighlight lang="bash" enclose="div">
<syntaxhighlight lang="bash" enclose="div">