This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
rewrite_by_lua_block {
|
|
-- set basic authorization header with base64 encoded apipassword
|
|
ngx.req.set_header("Authorization", require("skynet.utils").authorization_header())
|
|
}
|