12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- {
- "Route": {
- "uris": ["/*"],
- "name": "root",
- "methods": ["GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"],
- "upstream": {
- "nodes": [
- {
- "host": "12.12.12.12",
- "port": 80,
- "weight": 1
- }
- ],
- "timeout": {
- "connect": 6000,
- "read": 6000,
- "send": 6000
- },
- "type": "roundrobin",
- "pass_host": "pass"
- },
- "status": 1
- },
- "Upstream": {
- "nodes": [
- {
- "host": "12.12.12.12",
- "port": 80,
- "weight": 1
- }
- ],
- "timeout": {
- "connect": 6,
- "read": 6,
- "send": 6
- },
- "type": "roundrobin",
- "pass_host": "pass",
- "name": "test"
- },
- "Service": {
- "name": "test",
- "upstream": {
- "nodes": [
- {
- "host": "12.12.12.12",
- "port": 80,
- "weight": 1
- }
- ],
- "timeout": {
- "connect": 6,
- "read": 6,
- "send": 6
- },
- "type": "roundrobin",
- "pass_host": "pass"
- },
- "plugins": {
- "jwt-auth": {
- "disable": false
- }
- }
- },
- "Consumer": {
- "username": "test",
- "desc": "desc",
- "plugins": {
- "basic-auth": {
- "disable": false,
- "password": "test",
- "username": "test"
- }
- }
- }
- }
|