Edit: The issue seems to have fixed itself magical...
# ory-selfhosting
s
Edit: The issue seems to have fixed itself magically?? It was likely related to caching but nonetheless frustrating... Hello everybody! I was working on my project which uses Oathkeeper and had some routes (
/assets
) that were used for serving static assets. These routes were working but now seem to not. This is the rule in question:
Copy code
{
  "id": "public-routes",
  "description": "Public access endpoints. NO authentication required.",
  "upstream": {
    "url": "<http://192.168.6.8:8393/>"
  },
  "match": {
    "url": "<https://api.projectname.example.app/><api.*|assets|invites(/.*)?>",
    "methods": [
      "GET",
      "POST",
      "OPTIONS"
    ]
  },
  "authenticators": [
    {
      "handler": "anonymous"
    }
  ],
  "authorizer": {
    "handler": "allow"
  },
  "mutators": [
    {
      "handler": "id_token"
    }
  ]
}
And this is the URL I was trying to access (GET):
<https://api.projectname.example.app/assets/favicon/favicon.ico>
. I get a
404 Requested url does not match any rules
Could you help me understand what's wrong?