Setting different connection timeouts based on URL path


1 comment

  • JC Muller

    Thank you this was very helpful!


    I am using it for Wordpress so to bypass the 60 seconds connection max limit so I used a snipped with

    • NAME: wp-admin snippet miss (and one for pass so two created)
    • within subroutine: miss (vcl_miss) (and the other is (pass vcl_pass))
    • VCL

      if ( req.url ~ "^/wp-admin" ) {
      set bereq.first_byte_timeout = 600s;


    Comment actions Permalink

Please sign in to leave a comment.