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 · 1701 views
    This topic created in 1904 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   ·   3325 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 13:12 · PVG 21:12 · LAX 06:12 · JFK 09:12
    ♥ Do have faith in what you're doing.