問題タブ [auth-request]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
nginx - カスタム固定ヘッダーを nginx の auth_request に渡す
nginx で静的ヘッダーを auth_request に渡すためのガイダンスが必要です。
私の場所の構成は次のとおりです。
そして、私のサブリクエストは以下のようになります:
CallType ヘッダーを auth_request に渡す必要があります。add_header、proxy_set_header を試しましたが、うまくいきませんでした。
CallType ヘッダーを期待している auth_request の背後で認証するための Rest Api があります。
内部プロセスであるため、APIヘッダーの一部として渡すことはできません。