Answer the question
In order to leave comments, you need to log in
nginx. How to make a redirect provided referer and user_agent?
Good afternoon. Please
tell me How to make a redirect provided referer and user_agent?
I currently have valid_referers
valid_referers sub.test.com;
if ($invalid_referer) {
return 301 https://test.com;
}
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