TeslaGov/ngx-http-auth-jwt-module

set the value of auth_jwt_key implicitely

farzadam opened this issue · 2 comments

I try to use this module. when I explicitly set the value for auth_jwt_key it works just fine. But if I set it as: auth_jwt_key $public_key; which is set by a js module beforehand, I get the error: nginx: [error] failed to open public key file
is there a way to solve this issue?

Sorry for the delay in response. We'll look into allowing variables to be used in the auth_jwt_key directive and others where it might make sense.