parent
69d968a605
commit
bf63351ae1
2 changed files with 16 additions and 1 deletions
@ -1,6 +1,18 @@ |
|||||||
|
{ |
||||||
|
|
||||||
|
if (($havp{'status'} || 'disabled') ne 'enabled'){ |
||||||
|
$OUT .=<<"EOF"; |
||||||
|
|
||||||
acl localhost src 127.0.0.1 |
acl localhost src 127.0.0.1 |
||||||
follow_x_forwarded_for allow localhost |
follow_x_forwarded_for allow localhost |
||||||
forwarded_for off |
forwarded_for off |
||||||
header_access X-Forwarded-For deny all |
header_access X-Forwarded-For deny all |
||||||
|
|
||||||
|
EOF |
||||||
|
|
||||||
|
} |
||||||
|
else{ |
||||||
|
$OUT .= ''; |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
Loading…
Reference in new issue