forked from baron/baron-sso
16 lines
380 B
JSON
16 lines
380 B
JSON
[
|
|
{
|
|
"id": "backend-api-rule",
|
|
"match": {
|
|
"url": "<.*>://<.*>/api/v1/<.*>",
|
|
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH"]
|
|
},
|
|
"upstream": {
|
|
"url": "http://backend:{{BACKEND_PORT}}"
|
|
},
|
|
"authenticators": [{ "handler": "cookie_session" }],
|
|
"authorizer": { "handler": "remote_json" },
|
|
"mutators": [{ "handler": "noop" }]
|
|
}
|
|
]
|