V
V
vsbeatz2015-11-30 17:41:46
linux
vsbeatz, 2015-11-30 17:41:46

How to configure the nginx cache only by the requested URL (without arguments) and user agent?

Actually the question is in the title.
What variable in nginx is responsible for the url without arguments?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lynn "Coffee Man", 2015-11-30
@Lynn

$uri

A
Alexey Romanenko, 2015-11-30
@slimus

the first may be easier to do by location? any if-s evil
second $http_user_agent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question