heihachi88
8/25/2015 - 4:21 PM

Nginx remove trailing slash for seo

Nginx remove trailing slash for seo

# place it inside server block

# remove trailing slash
rewrite ^/(.*)/$ /$1 permanent;