nginx 重定向跳转 http://xxxxx.xxx.com/aa/bbbb/cccc/dddd.htm到http://xxxxx.xxx.com/ee/

当访问 http://xxxxx.xxx.com/aa/bbbb/cccc/dddd.htm 时重定向到http://xxxxx.xxx.com/ee/
其中原nginx配置
server {
listen 80;
server_name xxxxx.xxx.com;
access_log /applogs/xxx.access.log main;
error_log /applogs/xxx.test.error.log;
root html;
index index.html index.htm;
location / {
proxy_pass http://192.168.0.1;
}
}

请写清楚配置添加到什么位置

location aa/bbbb/cccc/dddd.htm {
 alias ee/;
}

location /aa/bbbb/cccc/dddd.htm {
alias /ee/;
index.html;
}