Remove the trailing slash
This commit is contained in:
parent
c6a1ef562c
commit
3b9f8f485e
|
@ -13,10 +13,17 @@ 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;
|
||||
|
|
Loading…
Reference in a new issue