• Resolved Blake

    (@blakemoore123)


    Purge isn’t working on either of my Varnish boxes. The request is getting there, but it’s not being actioned:

    11 RxRequest    c PURGE
       11 RxURL        c /.*
       11 RxProtocol   c HTTP/1.0
       11 RxHeader     c Host: dev.example.co.uk
       11 RxHeader     c User-agent: WordPress/4.1; http://dev.example.co.uk
       11 RxHeader     c X-Purge-Method: regex
       11 RxHeader     c Accept-Encoding: deflate;q=1.0, compress;q=0.5, gzip;q=0.5
       11 VCL_call     c recv
       11 VCL_acl      c NO_MATCH purge
       11 VCL_return   c error
       11 VCL_call     c hash
       11 Hash         c /.*
       11 Hash         c dev.example.co.uk
       11 VCL_return   c hash
       11 VCL_call     c error deliver
       11 VCL_call     c deliver deliver
       11 TxProtocol   c HTTP/1.1
       11 TxStatus     c 405
       11 TxResponse   c Not allowed.
       11 TxHeader     c Server: Varnish
       11 TxHeader     c Content-Type: text/html; charset=utf-8
       11 TxHeader     c Retry-After: 5
       11 TxHeader     c Content-Length: 397
       11 TxHeader     c Accept-Ranges: bytes
       11 TxHeader     c Date: Wed, 21 Jan 2015 20:52:35 GMT
       11 TxHeader     c X-Varnish: 140119601
       11 TxHeader     c Age: 0
       11 TxHeader     c Via: 1.1 varnish
       11 TxHeader     c Connection: close

    Any help would be greatly appreciated.

    Thanks

    https://wordpress.org/plugins/multi-varnish-http-purge/

Viewing 1 replies (of 1 total)
  • Thread Starter Blake

    (@blakemoore123)

    This looks like it was my own fault.

    I had to add a block to the varnish configuration to allow the PURGE request to come from the master server, rather than localhost.

Viewing 1 replies (of 1 total)
  • The topic ‘Purge not working’ is closed to new replies.