各位懂Nginx的大佬来指教一波小弟

假设我现在有一个路径是 /home/data/

下面存了一些 图片 文件夹之类的

我想通过Nginx的 localtion匹配 /home/data/ 访问到 系统目录的 /home/data/ 如何设置

location /home/data/

不能使用 /来匹配 因为这个 应该跳到后台了
目前的写法是:
location /upload/ {
root /home;
index index.html index.htm;

}

但是这样的话 访问的时候就需要 http://xxx.xxx.xxx/upload/xxx.jpg 了
我想不使用/匹配,但是访问的时候是 http://xxx.xxx.xxx/home/upload/xxx.jpg 有没有什么办法

location /home/upload/ {
root /home/upload/;
index index.html index.htm;

}这种写法好像不行,求大佬指点