summaryrefslogtreecommitdiff
path: root/caddytest/integration
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest/integration')
-rw-r--r--caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt b/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
index 57b63af..ed3b20d 100644
--- a/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
+++ b/caddytest/integration/caddyfile_adapt/log_except_catchall_blocks.txt
@@ -1,5 +1,7 @@
http://localhost:2020 {
log
+ skip_log /first-hidden*
+ skip_log /second-hidden*
respond 200
}
@@ -31,6 +33,36 @@ http://localhost:2020 {
{
"handle": [
{
+ "handler": "vars",
+ "skip_log": true
+ }
+ ],
+ "match": [
+ {
+ "path": [
+ "/second-hidden*"
+ ]
+ }
+ ]
+ },
+ {
+ "handle": [
+ {
+ "handler": "vars",
+ "skip_log": true
+ }
+ ],
+ "match": [
+ {
+ "path": [
+ "/first-hidden*"
+ ]
+ }
+ ]
+ },
+ {
+ "handle": [
+ {
"handler": "static_response",
"status_code": 200
}