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.
skynet-webportal/docker/nginx/conf.d/include/sia-auth

5 lines
183 B
Plaintext
Raw Permalink Normal View History

2020-07-28 09:19:03 +00:00
rewrite_by_lua_block {
2021-12-20 10:27:29 +00:00
-- set basic authorization header with base64 encoded apipassword
ngx.req.set_header("Authorization", require("skynet.utils").authorization_header())
2020-07-28 09:19:03 +00:00
}