mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 21:32:49 +00:00
14 lines
351 B
Plaintext
14 lines
351 B
Plaintext
location /approve/ {
|
|
proxy_pass http://approve/;
|
|
}
|
|
location /approve/api/ {
|
|
auth_request /approveAuth;
|
|
proxy_pass http://approve/api/;
|
|
}
|
|
location /approveAuth {
|
|
internal;
|
|
proxy_set_header Content-Type "application/json";
|
|
proxy_set_header Content-Length $request_length;
|
|
proxy_pass http://service/api/approve/verifyToken;
|
|
}
|