标签:header 认证 pre oca pass 第三方 auth length off
location /private/ {
auth_request /auth;
...
}
location = /auth {
proxy_pass ...
proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_set_header X-Original-URI $request_uri;
}标签:header 认证 pre oca pass 第三方 auth length off
原文地址:https://www.cnblogs.com/leleyao/p/13171204.html