Answer the question
In order to leave comments, you need to log in
How to make a caching key with a domain from a referer in nginx?
Good afternoon!
The problem is this - I cache the requests in which the api comes. The api comes from different domains and nginx caches with an incorrect header Access-Control-Allow-Origin
* does not suit us, we have to substitute our own for each referer. And with cash - whoever came first is the one and dad, out.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question