How do I redirect all requests that contains a cer

2019-04-12 01:22发布

问题:

I want to return all requests to urls that contains the string Histats to 404. How can I do that?

回答1:

location ~ Histats {
    return 404;
}

PS: If is evil



标签: nginx