{ "admin": { "listen": "localhost:2020" }, "apps": { "http": { "servers": { "comprehensive_test": { "listen": [":8090"], "routes": [ { "match": [ { "type": "path", "paths": ["/test-matchers"] } ], "handle": [ { "handler": "respond", "status_code": 200, "body": "Path matcher works correctly!" } ] }, { "match": [ { "type": "path", "paths": ["/compress-test"] } ], "handle": [ { "handler": "encode", "encodings": ["gzip"], "min_length": 10 }, { "handler": "respond", "status_code": 200, "body": "This is a test response that should be compressed because it's longer than the minimum length threshold." } ] }, { "handle": [ { "handler": "file_server", "root": "./public", "browse": true } ] } ] } } } } }