-
Story
-
Resolution: Done
-
Minor
-
RH358 - RHEL 8.1 1 20200713, RH358 - RHEL 8.1 0
-
None
-
9
-
ILT, ROLE, VT
-
en-US (English)
URL:
Reporter RHNID:
Section: - Guided Exercise: Caching Static Content with Varnish
Language: en-US (English)
Workaround: No real work-around as there isn't an error. However, as an instructor until the book gets fixed, you could use "purge_acl_allow" as the name of the ACL to eliminate confusion and better illustrate the example.
Description: There are a few things to mention here ...
In step 10.1 the book doesn't really highlight and indicate everything is changing in the screen section. The other issue is the ACL being created is called purge and the VCL method being used is called PURGE.
Currently this is not Bold
acl purge { "localhost"; "172.25.250.12"; # serverc } sub vcl_recv { if (req.method == "PURGE") { if (!client.ip ~ purge) { return(synth(405,"Not allowed.")); } return (purge); } }
Better Way to Illustrate Purge ACL
acl purge_acl_allow { "localhost"; "172.25.250.12"; # serverc } sub vcl_recv { if (req.method == "PURGE") { if (!client.ip ~ purge_acl_allow) { return(synth(405,"Not allowed.")); } return (purge); } }