config error

Miguel Gonzalez miguel_3_gonzalez at yahoo.es
Mon Aug 21 21:36:53 CEST 2017


Which error are you getting?

Rodney Bizzell <rbizzell at measinc.com> wrote:

>Hello,
>
>I am not sure why I am getting a config error can't see what I am missing here is a copy of my config.
>
>
>backend stgncwrite {
>    .host = "stg.ncwrite.com";
>    .port = "80";
>    .connect_timeout = 5s;
>    .first_byte_timeout = 60s;
>    .between_bytes_timeout = 60s;
>    .probe = {
>        .url = "/";
>        .timeout = 5s;
>        .interval = 5s;
>        .window = 5;
>        .threshold = 3;
>     }
>
>
>
>
>backend stgpegwritingscholar {
>    .host = "stg.pegwritingscholar.com";
>    .port = "80";
>    .connect_timeout = 5s;
>    .first_byte_timeout = 60s;
>    .between_bytes_timeout = 60s;
>    .probe = {
>        .url = "/";
>        .timeout = 5s;
>        .interval = 5s;
>        .window = 5;
>        .threshold = 3;
>     }
>
>
>
>sub vcl_recv {
>    if(req.http.host == "stg.ncwrite.com"){
>       set req.backend_hint = stgncwrite;
>    } else if (req.http.host == "stg.pegwritingscholar.com"){
>       set req.backend_hint = stgpegwritingscholar;
>      return (hash);
>    }
>
>
>
>#sub vcl_pass {
>
>
>
>
>
>sub vcl_backend_response {
>  set beresp.grace = 6h;
>  set beresp.ttl = 5m;
>}
>
>
>
>This email (including any attachments) may contain confidential information intended solely for acknowledged recipients. If you think you have received this information in error, please reply to the sender and delete all copies from your system. Please note that unauthorized use, disclosure, or further distribution of this information is prohibited by the sender. Note also that we may monitor email directed to or originating from our network. Thank you for your consideration and assistance. |
>
>_______________________________________________
>varnish-misc mailing list
>varnish-misc at varnish-cache.org
>https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


More information about the varnish-misc mailing list