Revert "Remove the trailing slash"

This reverts commit 3b9f8f485e.
This commit is contained in:
Oliver Davies 2021-07-20 09:52:53 +01:00
parent 3b9f8f485e
commit 73db57a680

View file

@ -13,17 +13,10 @@ server {
location / {
root /app;
index index.html index.htm;
try_files $uri/index.html $uri.html $uri/ $uri =404;
}
error_page 404 /404.html;
}
location ~ ^(.+)/$ {
return 301 $1$is_args$args;
}
rewrite ^/10-useful-drupal-6-modules-i-use-every-project$ /blog/10-useful-drupal-6-modules;
rewrite ^/2010/04/05/styling-drupal-6s-taxonomy-lists-with-php-css-and-jquery$ /blog/style-drupal-6s-taxonomy-lists-php-css-jquery;