Answer the question
In order to leave comments, you need to log in
Is it possible to cache nginx pages with authorization by headers?
Is it possible to cache a page where access is restricted by the Authorization Bearer header ? There are no passwords or cookies, stateless requests. JWT header only. How to properly configure the cache, if possible?
Answer the question
In order to leave comments, you need to log in
All headers are translated into $http_...
$http_name is
an arbitrary request header field; the last part of the variable name matches the field name converted to lowercase, with dashes replaced with underscores
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question