You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
headers op cannot evaluate REQUESTED_SERVER_NAME #19024
"%REQUESTED_SERVER_NAME%" can not be evaluated in the headers op, which can be used by tcp_proxy's tunnel and http router.
I suspect access log cannot use it as well.
The root cause is that this legit var name REQUESTED_SERVER_NAME has the prefix "REQ" and the parser tried to parse it as a format of
"REQ(...)".
Activity
banjocat commentedon Nov 17, 2021
To clarify. It does work in access_logs it just doesn't work in add_headers.
agrawroh commentedon Nov 18, 2021
Created a PR to add it:
#19038