如何隐藏重定向网址或如何不显示后端网址

问题描述

在这里有个例子:

 location ~* /bar {
      rewrite ^/bar/(.*) https://objectstorage.ca-city.oraclecloud.com/n/randomhash/b/bucketname/o/$1 permanent
}

当我点击https:// ip_address / object / file时 它将浏览器URL重定向到ttps://objectstorage.ca-city.oraclecloud.com/n/randomhash/b/bucketname/o/file

是否可以将其保留为https:// ip_address / object / file?还是不显示重定向网址?

谢谢

编辑 我使用proxy_pass使其工作。如果有人要添加更多内容,请放心。

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)