V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · Feb 22, 2021 · 1680 views
    This topic created in 1898 days ago, the information mentioned may be changed or developed.
    对腾讯云的一个接口进行反向代理,需要配置 Authorization 请求头,参数是这样的
    Authorization:hmac id = "AKIDi6qE4uN0qIwU", algorithm = "hmac-sha1", headers = "date source", signature = yMCiLJ4='
    这个参数怎么配置到 proxy_set_header 中呢?现在是直接把所有参数都写进去了,但是报错了。。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3290 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 12:33 · PVG 20:33 · LAX 05:33 · JFK 08:33
    ♥ Do have faith in what you're doing.