hi, got a question about nginx ingress and hydra. ...
# talk-hydra
f
hi, got a question about nginx ingress and hydra. following the doc "Deploy to production" I added this to the nginx ingress path definition but got the following error:
Copy code
Ingress.extensions "hydra-stg-public" is invalid: spec.rules[0].http.paths[0].path: Invalid value: "^/(.well-known|oauth2/auth|oauth2/token|oauth2/revoke|oauth2/fallbacks/consent|oauth2/fallbacks/error|userinfo)/?": must be an absolute path
using terraform to define it, but it follows the usual rules for this stuff:
Copy code
path {
          path = "^/(.well-known|oauth2/auth|oauth2/token|oauth2/revoke|oauth2/fallbacks/consent|oauth2/fallbacks/error|userinfo)/?"
any chance someone has a suggestion? Doc I am working from: https://www.ory.sh/docs/hydra/guides/deploy-hydra-example
m
So you follow the guide but use terraform to configure Nginx? Can you share more? I am not really familiar with terraform but the path seems fine.