Is anyone know how to use cerbos container as by u...
# help
k
Is anyone know how to use cerbos container as by using nginx proxy_pass? I tried to do proxy pass but the endpoints in HTML code starts with / and I'm getting 404 on requests.
Copy code
location ~ ^/cerbos {
    rewrite /cerbos/(.*) /$1  break;
    proxy_pass <http://cerbos>;
}
c
Not an Nginx expert but do you have other rewrite rules? Try replacing
break
with
last
.