parent
3b9f8f485e
commit
73db57a680
|
@ -13,17 +13,10 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /app;
|
root /app;
|
||||||
|
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
}
|
||||||
try_files $uri/index.html $uri.html $uri/ $uri =404;
|
|
||||||
|
|
||||||
error_page 404 /404.html;
|
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 ^/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;
|
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