Answer the question
In order to leave comments, you need to log in
How to make redirect "dots" after site root in nginx?
Colleagues, good afternoon.
Please tell me how to configure nginx so that it processes "." at the end of the site and did a redirect to the root of the site?
There is www.site.ru there a lot of things, but recently they found www.site.ru. also works, and www.site.ru./ works (it opens www.site.ru.) here's how to force . and ./ handled by nginx? Thank you very much.
Tried with return 301 and with location =/. but not working yet.
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