green-waiter-57771
12/20/2021, 1:16 PM<http://nginx.ingress.kubernetes.io/auth-url|nginx.ingress.kubernetes.io/auth-url>: "<http://ory-oathkeeper.test.svc.cluster.local:4456/decisions/managers/>"
I guess i need to add the host of backend service in the header as well for this to work, is that correct ?proud-plumber-24205
12/20/2021, 10:50 PMworried-kitchen-94392
12/21/2021, 8:34 AMgreen-waiter-57771
12/21/2021, 3:55 PM<http://manager.fid.com/managers|manager.fid.com/managers>
Now i am trying to configure the nginx in the ingress of manager-service to make an external auth request to oathkeeper url, but as i understand i need to send the host of manager-service in header so rules can be applied
<http://nginx.ingress.kubernetes.io/auth-url|nginx.ingress.kubernetes.io/auth-url>: <http://ory-oathkeeper.ssi-test.svc.cluster.local:4456/decisions/managers/>
<http://nginx.ingress.kubernetes.io/auth-snippet|nginx.ingress.kubernetes.io/auth-snippet>: |
proxy_set_header Host <http://manager.fid.com/|manager.fid.com/>;
Correct me if i am wrong please