S
S
S0mnium2013-07-10 17:47:18
Nginx
S0mnium, 2013-07-10 17:47:18

How to get rid of infinite links?

For the first time I write a question before I found answers. Problem: example.com/product/ is a certain category, example.com/product// opens the same thing, slashes can be put indefinitely. How to make it so in nginx that for example.com/product////// - issued 404?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EminH, 2013-07-10
@S0mnium

nginx.org/en/docs/http/ngx_http_core_module.html#merge_slashes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question