V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
daimaosix
V2EX  ›  NGINX

请教 Nginx 反向代理 proxy_set_header 如何配置 Authorization 参数

  •  
  •   daimaosix · 2021-02-22 23:36:09 +08:00 · 1166 次点击
    这是一个创建于 1158 天前的主题,其中的信息可能已经有所发展或是发生改变。
    对腾讯云的一个接口进行反向代理,需要配置 Authorization 请求头,参数是这样的
    Authorization:hmac id = "AKIDi6qE4uN0qIwU", algorithm = "hmac-sha1", headers = "date source", signature = yMCiLJ4='
    这个参数怎么配置到 proxy_set_header 中呢?现在是直接把所有参数都写进去了,但是报错了。。
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4036 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 05:21 · PVG 13:21 · LAX 22:21 · JFK 01:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.