{ | |
"debugPostJson": { | |
"name": "test_https", | |
"status": 1, | |
"methods": ["GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"], | |
"priority": 0, | |
"uris": ["/*"], | |
"labels": {}, | |
"plugins": { | |
"redirect": { | |
"http_to_https": true | |
} | |
}, | |
"vars": [], | |
"upstream": { | |
"type": "roundrobin", | |
"nodes": [{ | |
"host": "httpbin.org", | |
"port": 80, | |
"weight": 1 | |
}], | |
"pass_host": "pass", | |
"timeout": { | |
"connect": 6, | |
"send": 6, | |
"read": 6 | |
} | |
} | |
} | |
} |