Categories
Why does the redirect to nginx not work?
Need a redirect from no slash to slash. I prescribe:
location ~ .+/$ { rewrite (.+)/$ $1 permanent; }
Answer the question
In order to leave comments, you need to log in
Holdrewrite ^([^.\?]*[^/])$ $1/ permanent;
rewrite ^([^.\?]*[^/])$ $1/ permanent;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question