# openresty转发日志 **Repository Path**: ngbt/openresty_forwarding_log ## Basic Information - **Project Name**: openresty转发日志 - **Description**: 基于lua-nginx-module模块,通过lua脚本获取通过nginx进行反向代理的请求的详细日志,包括请求头,请求体,响应头,响应体,并通过异步的http请求从以上信息中获取详细日志推送到日志服务接口。 - **Primary Language**: Lua - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2021-07-31 - **Last Updated**: 2022-08-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # openresty转发日志 #### 介绍 基于openresty的lua-nginx-module模块,通过lua脚本获取通过nginx进行反向代理的请求的详细日志,包括请求头,请求体,响应头,响应体,并通过异步的http请求从以上信息中获取详细日志推送到日志服务接口。 #### 软件架构 基于open resty的nginx发行版。 #### 安装教程 1. 下载open resty安装包进行安装。 2. 将源代码中所有lua文件拷贝至openresty根目录下。 3. 将nginx.conf拷贝至openresty的conf目录下,参考配置文件中location /配置块进行自定义配置。 4. 修改log_by_lua.lua第一行中日志服务url。 #### 使用说明 1. 通过修改好的nginx.conf启动nginx。 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request