there is an expression that adds a slash at the end of the url, it acts and the slash adds, and to the pictures too,
rewrite ^(.*[^/])$ $1/ permanent; Question: how to exclude images (* .jpg, * .png) from this rule?
image addresses
.ru / files / 1769_content_img.jpg
I myself found how to remove some pages from the (other) rule’s actions, but this is probably not the case:
rewrite ^/((?!install|admin|administrator).*)/$ /$1 permanent; Need your help, thanks!