-u no longer supported (#1733)
* -u no longer supported https://varnish-cache.org/docs/4.1/reference/varnishd.html https://support.jpgottech.com/knowledgebase.php?article=90 issue #1732
This commit is contained in:
parent
1acbebc2a3
commit
e92f08e323
@ -266,7 +266,7 @@ sub vcl_hit {
|
||||
return (deliver);
|
||||
} else {
|
||||
# No candidate for grace. Fetch a fresh object.
|
||||
return(fetch);
|
||||
return(miss);
|
||||
}
|
||||
} else {
|
||||
# backend is sick - use full grace
|
||||
@ -275,12 +275,12 @@ sub vcl_hit {
|
||||
return (deliver);
|
||||
} else {
|
||||
# no graced object.
|
||||
return (fetch);
|
||||
return (miss);
|
||||
}
|
||||
}
|
||||
|
||||
# fetch & deliver once we get the result
|
||||
return (fetch); # Dead code, keep as a safeguard
|
||||
return (miss); # Dead code, keep as a safeguard
|
||||
}
|
||||
|
||||
sub vcl_miss {
|
||||
|
@ -11,7 +11,7 @@ exec bash -c \
|
||||
"exec varnishd \
|
||||
-a :$VARNISH_PORT \
|
||||
-T localhost:6082 \
|
||||
-F -u varnish \
|
||||
-F \
|
||||
-f $VARNISH_CONFIG \
|
||||
-s malloc,$CACHE_SIZE \
|
||||
$VARNISHD_PARAMS"
|
||||
$VARNISHD_PARAMS"
|
||||
|
Loading…
Reference in New Issue
Block a user