Skip to content

Set value of NGINX remote_user variable from plugin #10184

Discussion options

You must be logged in to vote

Yes, many Nginx vars are read only, and only a few are writeable.

But We can use set directive to define a var, then manipulate it with ngx.var.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shawnchapla-8451
Comment options

Answer selected by shawnchapla-8451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants