diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-05 13:02:36 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-05 13:02:36 -0700 |
| commit | e1fe97ff76ac966039347465f79dc96e705f7f25 (patch) | |
| tree | c0168a0884ce57d8827c4add7667219f04d69faa /policy.csv | |
| parent | 06a4e0783c1886ca46468c4caeb42a41d56fd956 (diff) | |
feat: connect the reverse proxy to a casbin policy enforcement and separate hostnames
Diffstat (limited to 'policy.csv')
| -rw-r--r-- | policy.csv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/policy.csv b/policy.csv new file mode 100644 index 0000000..e662398 --- /dev/null +++ b/policy.csv @@ -0,0 +1,8 @@ +p, "\A[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}\z", api.example.com, (GET)|(POST)|(PATCH)|(PUT)|(DELETE)|(HEAD), /* +p, *, *, (GET)|(HEAD), /health +p, *, *, GET, /.well-known/* +p, *, idp.example.com, (GET)|(POST), /oauth/* +p, *, idp.example.com, (GET)|(POST), /saml/* +p, *, ui.example.com, (GET)|(POST), /oauth/* +p, *, ui.example.com, (GET)|(POST), /saml/* +p, 71cbc18e-bd41-4229-9ad2-749546a2a4a7, *, *, /* |
