Hacker News new | past | comments | ask | show | jobs | submit login

It was quite useful to speedup redirects:

    location ~ ^(?<canonical>.*)\.html$ {
      access_log off;
      log_not_found off;
      http2_push $canonical;
      return 301 $canonical;
    }



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: