> At the risk of pushing it... is there a way to make the redirect 301 rather than 302?
In case anybody is interested, the following code (very similar to the original I found elsewhere) works OK in the latest version, 0.8.50, with a 301 response:
location / {
root /var/www/mysite;
index index.html index.htm;
if ($request_uri ~ (.*/)index.html) {
set $files $1;
rewrite ^ http://$host$files permanent;
}
}
By now I don't even know if I tried this exactly with an older version... certainly something like this, but it didn't work.
Cheers!
Ezequiel