3 ms·
It was quite useful to speedup redirects: location ~ ^(?<canonical>.*)\.html$ { access_log off; log_not_found off; http2_push $canonical;
by vbernat 4y ago
It was quite useful to speedup redirects:
location ~ ^(?<canonical>.*)\.html$ {
access_log off;
log_not_found off;
http2_push $canonical;
return 301 $canonical;
}