You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
604 B
49 lines
604 B
5 years ago
|
:80
|
||
|
|
||
|
@test {
|
||
|
not {
|
||
|
header Abc "123"
|
||
|
header Bcd "123"
|
||
|
}
|
||
|
}
|
||
|
respond @test 403
|
||
|
----------
|
||
|
{
|
||
|
"apps": {
|
||
|
"http": {
|
||
|
"servers": {
|
||
|
"srv0": {
|
||
|
"listen": [
|
||
|
":80"
|
||
|
],
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": [
|
||
|
{
|
||
|
"not": [
|
||
|
{
|
||
|
"header": {
|
||
|
"Abc": [
|
||
|
"123"
|
||
|
],
|
||
|
"Bcd": [
|
||
|
"123"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"handle": [
|
||
|
{
|
||
|
"handler": "static_response",
|
||
|
"status_code": 403
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|