Before I had my website on cloudflare my nginx rule was working perfectly, but today I was doing some checks and for my surprise the trailing slashes was not being rewritten. What is happening? What am I doing wrong?
My rules is the following:
merge_slashes off; rewrite (.*)//+(.*) $1/$2 permanent;