1

I am using the below regex to add a trailing slash to any url that doesn't have a railing slash or ends ends with ..

rewrite ^([^.]*[^/])$ $1/ permanent;

This works fine for http, but when I use https it doesn't. I can't work out why? Can you?

Pothi Kalimuthu
  • 6,117
  • 2
  • 26
  • 38
user1573604
  • 145
  • 5

0 Answers0